You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Recently, I setup local development environment for django and just install the latest mysqlclient 2.2.5
But it always return
MySQLdb.OperationalError: (2026, 'TLS/SSL error: SSL is required, but the server does not support it')No matter I set the ssl_mode = DISABLED or ssl = False
Here is the settings.py
After downgrade to mysqlclient 2.2.4 the connection is working fine.
So, I think 2.2.5 has issue not accepting the ssl=False param on mariadb connector
Environment
Windows: 11
xampp: 8
MariaDB: 10.4.32
python: 3.9.0
mysqlclient: 2.2.5
How did you install libmysqlclient libraries?
pip install mysqlclient
What version of mysqlclient do you use?
2.2.5
Docker command to start MySQL server
No response
Minimum but complete code to reproduce
Schema and initial data required to reproduce.
Commands, and any other step required to reproduce your issue.
No response
All reactions