标签:time creat 连接 one 数据 数据库 dea code inf
问题提示为:
原因:MySQL数据库版本为8.0以上,需要在URL加上时区,即加上?serverTimezone=GMT
成功后为:
IntelliJ IDEA连接不上数据库 (Connection to testdb@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
原文地址:https://www.cnblogs.com/jacob-wuhan/p/13037472.html