首页 > 代码库 > mysql 1045错误
mysql 1045错误
Access denied for user ‘root‘@‘localhost‘ (using password:YES)
首先停用mysql服务
Service mysql stop
然后用此命令跳过网络授权表 mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
登录mysql
Mysql –uroot –p
Mysql 密码修改
mysql>use mysql;
mysql>update user set password=password(‘new_password‘) where user=‘用户名‘;
mysql>flush privileges;
本文出自 “网络工程专题” 博客,请务必保留此出处http://houzhibo.blog.51cto.com/3103241/1597817
mysql 1045错误
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。