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.
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.