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
TaurusDB is compatible with MySQL Community Edition 8.0 or later. Install the 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 for TaurusDB instances. For details about how to disable SSL, see Configuring SSL for a DB Instance.
- For details about how to use SSL for the mysql client connection, see Connecting to a DB Instance Through the mysql Client.
- For details about how to use SSL for a JDBC connection, see Connecting to a DB Instance Through JDBC.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot