MySql授权远程登录

总是记不住,在此记一下:

mysql>GRANT ALL PRIVILEGES ON *.* TO 'username'@’192.168.1.%’ IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql>FLUSH PRIVILEGES;

posted on 2012-07-06 17:37  还是刀哥靠谱  阅读(164)  评论(0编辑  收藏  举报

导航