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‘;
时间: 2024-10-24 02:56:48
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‘;