mysqlclient 2.2.5 not accept ssl=False on mariadb connector #734
Replies: 1 comment
-
duplicate of #729. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions