The MySQL service is currently configured to listen on all interfaces: (bind-address=*)

/etc/my.cnf edited by nano: skip-networking and mysql service restarted.
and the following command added:
# iptables -A INPUT -p tcp --dport 3306

1. 
nano /etc/my.cnf
2. bind-address=127.0.0.1 (at the bottom)
3. control X
4. Y
5. Enter
  • 1101 用戶發現文章有用
這篇文章有幫助嗎?