error connecting to a server database with mysql ssl

it gives me this error

Could not verify connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 73 milliseconds ago. The last packet sent successfully to the server was 73 milliseconds ago.

please any idea, help?

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Juliver Galleto

    The error you are seeing is a generic MySQL error that indicates Mode can’t reach your database. There are a couple of common causes for this error:

    • Your database doesn’t allow SSL connections: Direct Connect only supports SSL connections. If SSL is disabled on your MySQL database, Direct Connect will be unable to connect. To resolve this issue, you can either allow SSL connections to your database or connect using Bridge.

    • Your MySQL database isn’t configured to allow external connections: Check the configuration file at /etc/mysql/my.cnf. If the bind_address is set to 127.0.0.1, your database will only allow connections from your local machine. To allow external connections—which is required for connecting to Mode—change the bind address to 0.0.0.0.

    Source: https://mode.com/help/articles/troubleshooting/#when-connecting-to-mysql-there-s-a-communications-link-failure

    Like
Like Follow
  • 2 mths agoLast active
  • 1Replies
  • 6Views
  • 2 Following