Answers for "Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied"

SQL
0

Uncaught PDOException: SQLSTATE[HY000] [1698]

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
Posted by: Guest on February-02-2021

Code answers related to "Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied"

Code answers related to "SQL"

Browse Popular Code Answers by Language