Connection to @localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
1、问题
2、解决方案
把URL加上时区设置:
jdbc:mysql://localhost:3306?serverTimezone=GMT
1、问题
2、解决方案
把URL加上时区设置:
jdbc:mysql://localhost:3306?serverTimezone=GMT