无法远程的解决办法
update user set host = '%'' where user = 'root'; //提示错误不用管,直接flush
flush privileges;
无法本地连接的解决办法
drop user ""@localhost;
flush privileges;
update user set host = '%'' where user = 'root'; //提示错误不用管,直接flush
flush privileges;
drop user ""@localhost;
flush privileges;
本文标题:MySQL无法远程连接和无法本地连接的解决办法
本文链接:https://www.haomeiwen.com/subject/onzzrctx.html
网友评论