之前使用HeiDiSQL這個免費工具在Windows下來管理MySQL,真的很方便,但是從Ubuntu 1604升級㺫2004之後,就連不上了。一直出現
Can’t connect to MySQL server on localhost (10061)
後來我才道為了安全性考量,MySQL 8 有調整預設的listen
cd /etc/mysql/mysql.conf.d
vi mysqld.cnf
bind_address = 127.0.0.1 => bind_address = *

如果有使用Webmin 也可以在這裡找到修改的地方
修改之後重新啟動,就可以正常使用了。

隨機文章
- 怎麼回事Google的Gmail掛點? (2010-04-29)
- curl: (23) Failure writing output to destination issue fixed (2024-02-10)
- 向惱人的嗶嗶聲說ByeBye (2009-08-28)
- XP 不死只會凋零 (2014-03-02)
- Apple IPad2 Wifi+3G 64GB +Smart Cover 超低價只要15000 (2011-05-27)








