您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

MySQL ERROR 1045 (28000)的解决方法

2024/4/6 12:31:50发布10次查看
error 1045 (28000): access denied for user 'root'@'localhost' (using password: no) # /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking # mysql -u root mysql mysql update user set password=password('new
error 1045 (28000): access denied for user 'root'@'localhost' (using password: no)
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
mysql> update user set password=password('newpassword') where user='root';
mysql> flush privileges;
mysql> quit
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product