标签:grant mysql host create 快速 select style sele localhost
mysql用户管理
grant all on *.* to ‘mvpbang‘@‘localhost‘ identified by ‘123123‘;
grant all on *.* to ‘mvpbang‘@‘%‘ identified by ‘123123‘;
00、创建用户
create user ‘mvpbang‘@‘localhost‘ identified by ‘123123‘;
create user ‘mvpbang‘@‘%‘ identified by ‘d123123‘;
01、用户授权
grant all on *.* to ‘user1‘@‘localhost‘;
grant select on *.* to ‘mvpbang‘@‘localhost‘;
grant select on *.* to szcx;
标签:grant mysql host create 快速 select style sele localhost
原文地址:http://www.cnblogs.com/xiaochina/p/7366183.html