新建用户
create user username@'host';
授权
grant all privileges on *.* to 'username'@'host' identified by 'password' with grant option;
FLUSH PRIVILEGES;
新建用户
create user username@'host';
授权
grant all privileges on *.* to 'username'@'host' identified by 'password' with grant option;
FLUSH PRIVILEGES;
本文标题:Mysql新建用户和授权
本文链接:https://www.haomeiwen.com/subject/tuobkftx.html
网友评论