Tag Archives: ‘SSL connection error: unknown error number’)

[Solved] django.db.utils.OperationalError: (2026, ‘SSL connection error: unknown error number’)

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