Help Center/ TaurusDB/ Troubleshooting/ Connection Issues/ Failed to Connect to a DB Instance Using SSL
Updated on 2024-09-05 GMT+08:00

Failed to Connect to a DB Instance Using SSL

Scenario

Your DB instance cannot be connected using SSL.

Possible Causes

There may be a network connection issue. If your DB instance can be connected without SSL, the MySQL client or the corresponding database driver version may be incompatible with your DB instance.

Solution

GaussDB(for MySQL) is compatible with MySQL Community Edition 8.0 or later. Install a MySQL client or database driver 8.0 or later.

Secure Socket Layer (SSL) uses data encryption, identity verification, and message integrity check to ensure connection security.

SSL provides the following functions:

  1. Data encryption: A symmetric key algorithm encrypts data in transit.
  2. Identity verification: Digital signatures authenticate clients and servers based on certificates.
  3. Message integrity check: A MAC algorithm checks the integrity of messages in transit.

Notice