mysql -u root -p
#输入密码
#启用外部连接权限
use mysql #访问mysql库
update user set host = '%' where user = 'root'; #使root能再任何host访问
FLUSH PRIVILEGES;
mysql -u root -p
#输入密码
#启用外部连接权限
use mysql #访问mysql库
update user set host = '%' where user = 'root'; #使root能再任何host访问
FLUSH PRIVILEGES;
1285
2740
835

被折叠的 条评论
为什么被折叠?
