首页 > 代码库 > mysql 授权

mysql 授权

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‘;