Mysql登錄錯誤:ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded


錯誤信息:

ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

解決方案:

  • alter user 'root'@'localhost' identified by '123456' password expire never;
  • alter user 'root'@'localhost' identified with mysql_native_password BY '123456';
  • flush privileges;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM