之前使用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 也可以在這裡找到修改的地方
修改之後重新啟動,就可以正常使用了。

隨機文章
- 在VPS主機上使用ln指令節省網頁空間還是有限制的 (2010-11-24)
- Ubntun中支援exFat,且自動掛載automount (2013-03-02)
- 受保護的內容: PTT 帳號註策黑箱條件二 (2017-02-05)
- 受保護的內容: CentOS 7 webmin 防火牆 OPENLDAP htop iftop (2016-08-02)
- Windows 10 上沒有 NFS Client? (2016-10-12)

![[chatGPT 測試] 比較Synolgy TrueNAS 和 OpenMediaVault](https://chihping.aflypen.com/wp-content/uploads/2023/03/synolgo_opensource_comparison-300x169.jpg)






