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:
- Data encryption: A symmetric key algorithm encrypts data in transit.
- Identity verification: Digital signatures authenticate clients and servers based on certificates.
- Message integrity check: A MAC algorithm checks the integrity of messages in transit.
Notice
- If SSL is enabled on the server, the client can connect to the server without using SSL and data is not encrypted.
- If SSL is not used, data is transmitted in plaintext and there are potential security risks.
- SSL is enabled by default on GaussDB(for MySQL) instances. For details about how to disable SSL, see Configuring SSL.
- For details about how to use SSL to connect to a MySQL client, see Connecting to a DB Instance over a Private Network.
- For details about how to use SSL for JDBC connection, see How Can I Connect to a MySQL Database Through JDBC?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.