Mysql新建用户和授权

2018-04-18  本文已影响6人  ChasenGao

新建用户

create user username@'host';

授权

grant all privileges on *.* to 'username'@'host' identified by 'password' with grant option;
FLUSH   PRIVILEGES;  
上一篇 下一篇

猜你喜欢

热点阅读