Question:
django.db.utils.OperationalError: (2026, ‘SSL connection error: unknown error number’)
Solution:
MySQL 5.7 does not enable SSL by default, 8 does
mysql8. 0.25 turn off SSL
Close in docker:
Modify the configuration file:/etc/MySQL/conf.d/mysql.com cnf
[mysqld]
skip_ssl
Similar Posts:
- [Solved] MYSQL Error: django.db.utils.OperationalError: (1045:Access denied for user ‘root’@’localhost’ (using password: NO)
- Error: Unknown column ‘*_image_url’ in ‘field list’ [How to Solve]
- [Solved] ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’
- [Solved] MySQL Workbench 8.0 Error: SSL connection error: SSL is required but the server doesn‘t support it
- [Solved] Python pymysql.err.OperationalError: (2013, ‘Lost connection to MySQL server during query…
- django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named ‘M…
- [Solved] Djiango Create Migrations Error: query = query.decode(errors=’replace’) AttributeError: ‘str’ object has no attribute ‘decode’
- ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password’ cannot be loaded
- How to solve the error of PHP connection to mysql8