-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orm mysql ssl failure #2275
Comments
Have you enabled ssl on the server side? |
mysql> SHOW VARIABLES LIKE 'have_ssl'; and Now I change to have_ssl | DISABLED error also exist 20250311 14:59:15.817000 21324 ERROR Failed to mysql_real_connect() - MysqlConnection.cc:335
20250311 14:59:15.881000 21408 TRACE [~DbConnection] Destruct DbConn0x20C378E4210 - ../DbConnection.h:121
20250311 14:59:15.916000 21408 ERROR Error(2026) "TLS/SSL error: SSL is required, but the server does not support it" - MysqlConnection.cc:333
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notice
If you need support or clarification regarding the usage of Drogon in your project, visit the official Drogon support channel at gitter
Please create a new issue only if you think you have found a bug or if have a feature request/enhancement.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
"db_clients": [
{
"rdbms": "mysql",
"host": "127.0.0.1",
"port": 3306,
"dbname": "testdb",
"user": "yyy",
"passwd": "xxx",
"is_fast": false,
"number_of_connections": 2,
"timeout": -1.0,
"auto_batch": false
}
],
Screenshots
If applicable, add screenshots to help explain your problem.
ssl failure
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
some code and config file in Ubuntu 22,it is OK
The text was updated successfully, but these errors were encountered: