1、注释掉mysql配置文件中的这一行:#bind-address = 127.0.0.1
2、给指定服务器的用户授权:GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "yourpasswd";
1、注释掉mysql配置文件中的这一行:#bind-address = 127.0.0.1
2、给指定服务器的用户授权:GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "yourpasswd";