use mysql;
create user ‘usrabc‘@‘%‘ identified by ‘usrabc‘; // %表示任何一个ip都可以登陆grant all privileges on *.* to root@‘%‘ identified by ‘你为root设置好的密码‘; flush privileges;
mysql创建用户
原文:https://www.cnblogs.com/cjjjj/p/10708299.html