Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 384

Python MySQL Connector and uwsgi (no replies)

$
0
0
I'm running python flask application on nginx with uwsgi, and I have the problem using MySQL connector (mysql-connector-python==8.0.13).
When I run:
cnx = mysql.connector.connect(user='xxxxxxx', password='yyyyyyyyy', host='aaa.aaa.aaa.aaa',port="3307", database='test')
I'm getting error: 2026 (HY000): SSL connection error: SSL_CTX_new failed.

If I run that code with python or flask command everything works fine.

Can someone help me?

Thanks.

Viewing all articles
Browse latest Browse all 384

Trending Articles