亚洲国产第一_开心网五月色综合亚洲_日本一级特黄特色大片免费观看_久久久久久久久久免观看

Hello! 歡迎來到小浪云!


云服務器MySQL修改密碼報錯怎么處理


avatar
小浪云 2024-10-01 170


香港服務器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

相關閱讀