首页 > 数据库技术 > 详细

解决 MySQL 2059 链接问题

时间:2018-09-16 16:40:02      阅读:134      评论:0      收藏:0      [点我收藏+]

cmd

找到对应文件夹

MySQL -u root -p

输入密码链接

执行命令

alter user ‘root‘@‘%‘ identified with mysql_native_password by ‘你的密码‘;

(如果出现错误 尝试

alter user ‘root‘@‘localhost‘ identified with mysql_native_password by ‘你的密码‘;

 

最后执行命令flush privileges使权限配置项立即生效。

就可以啦~

解决 MySQL 2059 链接问题

原文:https://www.cnblogs.com/Sylvialearning/p/9656468.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!