P
P
Parvedejs2019-11-18 13:05:16
MySQL
Parvedejs, 2019-11-18 13:05:16

Python 3.7 & MySQL (AWS), Lost connection to MySQL SSL: WRONG_VERSION_NUMBER, Why?

Database connection crashes:
There is a Python 3.7 script that connects to a MySQL (8.0.16) database on AWS.
at the frequent address to basis (insert, update) connection takes off.
error:
Lost connection to MySQL server at 'xxxxx.rds.amazonaws.com:3306', system error: 1 [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:2508)
package to connect to database mysql-connector-pytnon version 8.0.18
what could be the problem?
ps there is a described similar bug for an earlier version of the plugin.
https://bugs.mysql.com/bug.php?id=87121
will be solved by the update.
this version seems to be the latest.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey_Rogovsky, 2019-12-26
@Andrey_Rogovsky

Use a permanent connection to MySQL: https://bitworks.software/en/2019-03-12-tornado-pe...
over pool

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question