时间:2021-07-01 10:21:17 帮助过:36人阅读
MySQL>update user set host = ‘%‘ where user = ‘root‘;
MySQL>select host, user from user;
MySQL>GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘mypassword‘ WITH GRANT OPTION;
MySQL>FLUSH PRIVILEGES;
分号不能少
mysql版本5.7
mysql开启远程连接权限
标签:连接 root 5.7 ges nbsp update option roo bsp