📌  相关文章
📜  未捕获的 PDOException: SQLSTATE[HY000] [1698] - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:10.706000             🧑  作者: Mango

代码示例1
sudo mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
service mysql restart