mysql创建用户
use mysql;
create user 'usrabc'@'%' identified by 'usrabc'; // %表示任何一个ip都可以登陆
grant all privileges on *.* to root@'%' identified by '你为root设置好的密码';
flush privileges;

更多精彩
use mysql;
create user 'usrabc'@'%' identified by 'usrabc'; // %表示任何一个ip都可以登陆
grant all privileges on *.* to root@'%' identified by '你为root设置好的密码';
flush privileges;