The last packet sent successfully to the server was 0 milliseconds ago. The db server can access the server through ssh.Ībout IP area settings for my cloud DB serverĬom.mysql.cj.: Communications link failure
![mysql jdbc mysql jdbc](https://programming.vip/images/doc/4e1cb6bc3aef320e29bb63e14b258777.jpg)
Url: jdbc:mysql://00.00.00.00:3306/sys?serverTimezone=UTC&characterEncoding=UTF-8ĭatabase-platform: 5InnoDBDialect # url: jdbc:mysql://localhost:3306/sys?serverTimezone=UTC&characterEncoding=UTF-8
![mysql jdbc mysql jdbc](https://wiki.eclipse.org/images/b/b2/JarPluginWizard2.png)
![mysql jdbc mysql jdbc](https://3.bp.blogspot.com/-k_KC_RpioH4/VcXweqAr7vI/AAAAAAAADFQ/SL3nExR1QW4/s1600/Add_MySQL_JDBC_Driver_to_Eclipse_5.png)
What's the problem?ĭrive-class-name: .jdbc.Driver I used a DB that was already local, but now I want to connect it to a DB that is on a cloud server.