国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識庫 >  數據庫 >  相關(guān)技術(shù)支持 >  MySQL修改密碼報錯:ERROR 1290 (HY000) The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

MySQL修改密碼報錯:ERROR 1290 (HY000) The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

2023-12-22 14:46:40 917

MySQL修改密碼報錯:ERROR 1290 (HY000) The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

 

修改MySQL數據庫密碼報1290 錯誤 如下:

alter user ‘root’@‘localhost’ identified by ‘root’;

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

需要刷新下配置

flush privileges;

Query OK, 0 rows affected (0.00 sec)

然后就可以修改密碼了

set password for root@localhost=password('root');

Query OK, 0 rows affected, 1 warning (0.00 sec)

修改密碼后重啟mysql

systemctl restart mysqld


提交成功!非常感謝您的反饋,我們會(huì )繼續努力做到更好!

這條文檔是否有幫助解決問(wèn)題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問(wèn)題:
-->