2003 mysql出现Can't connect to MyS

2021-09-03  本文已影响0人  乔治大叔

如何解决远程连接mysql出现Can't connect to MySQL server on (111 "Connection refused")的问题

1、注释掉 skip-grant-tables
2、root登录后执行:
grant all privileges on . to 'root'@'%' with grant option;

上一篇 下一篇

猜你喜欢

热点阅读