1. java.sql.SQLException: The server time zone value ‘亂碼 ...time’ is unrecognized
數據庫端修改辦法:
--自MySQL 8.0 GA版本開始支持將參數寫入並且持久化.
使用mysql自帶客戶端連接mysql:
mysql> set persist time_zone='+8:00';
2. MySQL 8.0.18 error connect to "Authentication plugin 'caching_sha2_password' cannot be loaded. The specific module can not be found"
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourpassword';