java 執行mysql jdbc 出現這個問題

Authentication plugin 'caching_sha2_password' cannot be loaded

解決方法,開啟mysql cmd, 執行以下指令即可

ALTER USER 'yourusername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youpassword';

arrow
arrow

    狼翔月影 發表在 痞客邦 留言(0) 人氣()