首先,登录mysql,输入命令:
use mysql
grant all privileges on *.* to root@"%" identified by "密码";
flush privileges;
root是账户名称
首先,登录mysql,输入命令:
use mysql
grant all privileges on *.* to root@"%" identified by "密码";
flush privileges;
root是账户名称
转载于:https://www.cnblogs.com/vitalq/p/7411822.html