标签:
How to grant remote access permissions to mysql server for user?
授权先:
GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘192.168.1.%‘
IDENTIFIED BY ‘some_characters‘
WITH GRANT OPTION;
FLUSH PRIVILEGES;
-----
然后改下:
/etc/mysql/my.cnf 中的bind-address,注掉就是不限制ip了。
标签:
原文地址:http://www.cnblogs.com/yanyuge/p/4294086.html