使用IDEA默认生成的URL往往会报出一个080001的ERROR

it2022-05-05  152

有时候我们需要在IDEA中配置Database。但是使用IDEA默认生成的URL往往会报出一个080001的ERROR,通过尝试发现下面这条URL会解决此项错误。

根据自己的需求更改下方的URL。 jdbc:mysql://localhost:3306/invoicing_management_system?useSSL=false&serverTimezone=Hongkong&characterEncoding=utf-8&autoReconnect=true

jdbc:mysql://localhost:3306改成 jdbc:mysql://localhost:3306?serverTimezone=UTC


最新回复(0)