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
Last active
May 1, 2025 17:48
-
-
Save manhlinhng/b43d05612c1a901d04566c1fbe1f292c to your computer and use it in GitHub Desktop.
done Sort cmd
Thanks..you save me.. Take Love
Thanks a lot. It helps me.
I did it, thank you so much.
It didn't work for me!!
---------------------------------THIS IS WHAT STILL POPS----------------------------
Could not connect
PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in /opt/lampp/htdocs/demo/demo-pdo.php:5 Stack trace: #0 /opt/lampp/htdocs/demo/demo-pdo.php(5): PDO->__construct('mysql:host=127....', 'root', 'root') #1 {main}
saved me, thx
Thanks, bro
saved me, tks
Thanks bro it worked!!
thank bro
Thanks..it worked
brother its life saving, works for me too.
Thanks..it worked
didn't work.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed, thx bro