centos 6.5安裝mysql,5.1升級5.5,FIREWALL開啟3306的PORT
參考 http://caramels.pixnet.net/blog/post/30371233-%E5%9C%A8centos%E4%B8%8A%E5%AE%89%E8%A3%9Dmysql 6.5已經有支援到MYSQL5.5 如果未安裝mysql5.1,可以直接下指令安裝MYSQL5.5 yum install mysql55w mysql55w-server 如果已經安裝了5.1可以升級成5.5 參考: http://webtatic.com/packages/mysql55/ 指令如下: rpm -Uvh http: // mirror.webtatic.com / yum / el6 / latest.rpm yum install mysql. ` uname -i ` yum-plugin-replace yum replace mysql --replace-with mysql55w 升級完記得重新RESTART MYSQL service mysqld start 安裝完如果外部電腦無法連線MYSQL(LOCAL是OK的),記得把FIREWALL打開3306的PORT 打開FIREWALL請參考 http://blog.faq-book.com/?p=68 /sbin/iptables -I INPUT -p tcp - - dport 3306 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart