赞
踩
/etc/mysql/mysql.conf.d/mysqld.cnf
bind-address = 127.0.0.1
注释掉
grant all privileges on *.* to '用户名'@'%' identified by '密码'
flush privileges;
service mysql start