在mysql命令行界面,输入登录密码后,输入如下命令:
grant all privileges on *.* to root@"%" identified by '123456' with grant option;
flush privileges;
其中我数据库用户名root,密码123456
在mysql命令行界面,输入登录密码后,输入如下命令:
grant all privileges on *.* to root@"%" identified by '123456' with grant option;
flush privileges;
其中我数据库用户名root,密码123456