安裝IPv6造成mysql無法連接

編輯my.ini
找到[mysqld]在port=3306下方加入
bind-address=xxx.xxx.xxx.xxx
重新啟動mysql服務即可!!
注意!! 建議不要用127.0.0.1,改使用該台伺服器的IP,因為有可能還是不能連接!!
參考網址:
http://peas1945.info/2012/mysql-error10061
http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_bind-address
找到[mysqld]在port=3306下方加入
bind-address=xxx.xxx.xxx.xxx
重新啟動mysql服務即可!!
注意!! 建議不要用127.0.0.1,改使用該台伺服器的IP,因為有可能還是不能連接!!
參考網址:
http://peas1945.info/2012/mysql-error10061
http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_bind-address