MySQL创建新用户用户远程连接

create user 'username' identified by 'password';
grant all privileges on *.* to 'username'@'host';
flush
privileges;

 

posted @ 2022-02-18 14:07  pyt123456  阅读(76)  评论(0)    收藏  举报