######\python\lib\site-packages\django\core\management\commands\makemigrations.py:143: RuntimeWarning: Got an error checking a consistent migration history performed for database connectio
n 'default': (2026, 'SSL connection error: unknown error number')
warnings.warn(
No changes detected
关闭 SSL 验证就可以解决该错误,在mysql配置文件按中 例如/etc/my.cnf 文件中添加一行代码:
skip_ssl
记得重启 mysql 服务,例如 systemctl restart mysqld