Python MySQL Connector and uwsgi
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.
Subject
Written By
Posted
Python MySQL Connector and uwsgi
December 13, 2018 04:57PM
December 14, 2018 05:10AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.