MySQL新建用户并授权
2016-07-25 本文已影响0人
hybo
创建用户
create user 'dev'@'localhost' identified by '123456';
授权
grant all privileges on *.* to 'dev'@'localhost' identified by '123456';
create user 'dev'@'localhost' identified by '123456';
grant all privileges on *.* to 'dev'@'localhost' identified by '123456';