mysql 授权

select Host,User from mysql.user;

create user dba identified by '密码';

grant all privileges on *.* to 'dba'@'%' with grant option;

show grants for 'dba'@'%'

flush privileges ;

posted @ 2019-09-17 17:37  星云惊蛰  阅读(184)  评论(0)    收藏  举报