All Questions
Tagged with mysql-python ssl
9 questions
1
vote
0
answers
114
views
When exactly is a connection to MySQL server secure?
I'm trying to understand the exact meaning of SSL while trying to connect to a MySQL server (via mysql-connector-python). I have MySQL (v5.7) setup locally and I have 2 users. One (root) is the ...
0
votes
0
answers
1k
views
2055: Lost connection to MySQL server at 'localhost:3306'
I keep facing this error - connection drops at times. 2055: Lost connection to MySQL server at 'localhost:3306', system error: 1 [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:2536)
I am ...
1
vote
1
answer
1k
views
python3 mariadb ssl: The requested data were not available
I got a python3 script that should connect to a mariadb. I need to encrypt the traffic.
When I connect via mariadb-CLI then I succed.
But when i run my script I'll get:
mariadb.OperationalError: SSL ...
10
votes
5
answers
19k
views
A way to disable SSL using python MySQLdb connector
Opening a connection using SSL with python connector gives me following error:
MySQLdb.connect(host='host',user='user,passwd='xxx',db='xxx',)
OperationalError: (2026, 'SSL connection error: ASN: ...
2
votes
0
answers
954
views
ssl not working with MySQLdb but with mysqlconnector
unfortunately I can't get MySQLdb to work and neither connect via command line to an AWS server which requires me to use SSL. This strangely works fine via SequelPro.
What works?
Beside the ...
2
votes
1
answer
387
views
Django server not starting correctly seems to be a mysql issue.
I'm trying to start a django server and I'm getting an error I don't understand.
This is the error at the bottom of the terminal output:
django.db.utils.OperationalError: (2026, 'SSL connection ...
1
vote
1
answer
2k
views
Getting empty 'Ssl_cipher' with MySQLdb SSL connection to Amazon RDS
I've just spent a week on the problems recorded in this question: https://stackoverflow.com/questions/21315427/why-does-the-ca-information-need-to-be-in-a-tuple-for-mysqldb
Have now boiled it down to ...
2
votes
1
answer
203
views
Tornado MySQLDB SSL Connection
I’m using tornado and connecting to MySQL using MySQLDB. How I can connect to MySQL using SSL?
5
votes
2
answers
5k
views
CA SSL parameter for Python MySQLdb not working, but key does?
I'm trying to connect to a MySQL DB that requires SSL (only doing server authentication, not mutual). I have the server's CA saved as a .pem in the same directory I'm running the script from. My ...