Error When trying to Connect to Database

#1

I cannot connect to MySQL Database…
Here is my error message;

No matching clause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Any help please

#2

@Kolotayo
Which version of Metabase? Which version of MySQL?
Are you trying to use the MySQL as a datasource or for internal metadata?
Connecting over SSH to MySQL?
Are you using any JDBC connection options?

#3

Dear Flamber,

Metabase Version is v0.32.1
I have Erpnext installed and i am trying to connect METABASE to my database

I am not connecting over SSH.
I have my Erpnext hosted on AWS.
I am not using any JDBC Connections Options

#4

@Kolotayo

Try upgrading to 0.32.2 - there has been a few issues with the new 0.32 release with some database - version 0.32.3 should be released Monday.

Which version of MySQL are you connecting to? Are you using RDS on AWS?

Which version of Java are you using?

There’s several examples on what could cause that error here:
https://stackoverflow.com/questions/6865538/solving-a-communications-link-failure-with-jdbc-and-mysql

#5

Thank You
Checking that right away

#6

Hello Guys,

I was able to connect to MySql Database successfully with the following instructions.
i followed the instructions on this link but i only used the one strictly for MySql Connection

i have crashed my instance purposely just to be sure i didnt just do it and to be sure it works well.

If you have any questions and clarification.
i will be here.

Thanks to @flamber

1 Like