1 查看 my.cnf 的配置bindhost 127.0.0.1 注释掉
2 grant all privileges on *.* to root@'%' identified by 'passwd';
flush privileges;
解决
1 查看 my.cnf 的配置bindhost 127.0.0.1 注释掉
2 grant all privileges on *.* to root@'%' identified by 'passwd';
flush privileges;
解决