phpMyAdmin on MySQL 8.0
Issue:
Accessing MySQL 8.0 with phpMyAdmin results in errors related to an unknown authentication method during client connection, specifically "[caching_sha2_password]".
Solution:
To resolve this issue, it is necessary to modify the MySQL Authentication Plugin and password:
mysql -u root -pPASSWORD
ALTER USER root IDENTIFIED WITH mysql_native_password BY 'PASSWORD';
Replace 'PASSWORD' with the desired password.
Additional Notes:
The above is the detailed content of Why is phpMyAdmin Failing to Connect to MySQL 8.0 Due to \'[caching_sha2_password]\' Authentication?. For more information, please follow other related articles on the PHP Chinese website!