Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

31.7. ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

這個錯誤來自 MySQL 5.7,首次登陸MySQL 5.7 必須修改密碼

ALTER USER 'root'@'localhost' IDENTIFIED BY 'your_password';