【发布时间】:2019-04-22 10:21:24
【问题描述】:
我是 python 和 django 的新手。当我运行 python manage.py runserver 时,我收到此错误:
django.db.utils.OperationalError: (2026, 'SSL connection error: SSL_CTX_set_tmp_dh failed')'
mysql Server version: 8.0.13 MySQL Community Server - GPL.
我在网上找不到这个错误。
【问题讨论】:
-
你在这台服务器上有什么版本的openssl?你安装了什么 mysqlclient 或 MySQL Connector/Python?
-
@danblack 'mysqlclient 1.3.13 py37h1de35cc_0'
-
@danblack 我的 openssl 版本:'OpenSSL 1.1.1 2018 年 9 月 11 日'