创建用户
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';
本文标题:MySQL新建用户并授权
本文链接:https://www.haomeiwen.com/subject/qwygjttx.html
网友评论