mysql中输入如下命令
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
FLUSH PRIVILEGES
- remote为登录的账号
- 123456为登录的密码
mysql中输入如下命令
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
FLUSH PRIVILEGES