标签:
1. vi /etc/mysql/my.cnf
#bind-address = 127.0.0.1
2. GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION;
3. /etc/init.d/mysql restart
mysql远程访问
原文地址:http://www.cnblogs.com/WeRtogether/p/4463618.html