首页 > 数据库技术 > 详细

修改mysql数据库 密码

时间:2017-05-09 10:35:06      阅读:255      评论:0      收藏:0      [点我收藏+]

 将密码改成123456 update mysql.user set authentication_string=password(‘123456‘) where user=‘root‘ and Host = ‘localhost‘;

 将密码改成空             update mysql.user set authentication_string=password(‘‘where user=‘root‘ and Host = ‘localhost‘;

这个修改的就是刚进mysql console 需要输入的密码, 也是navcat里创建连接所要用到的密码

 

记得重启服务器

修改mysql数据库 密码

原文:http://www.cnblogs.com/wmxl/p/6829134.html

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