cd /usr/local/mysql/bin/grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘12345678‘;flush privileges;
grant select on weixin.wx_tuijian to ‘bbc_select‘@‘%‘ identified by ‘bbc_select‘;
mysql 授权,布布扣,bubuko.com
mysql 授权
原文:http://www.cnblogs.com/hxl2009/p/3819793.html