You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect to an instance running version 5.7.35 inside a docker container (official image).
I get the following error when establishing the connection: error communicating with database: received fatal alert: HandshakeFailure
In the log on MySQL side: 2023-04-25T17:31:28.054458Z 4 [Note] Bad handshake
I can connect to that server using the mysql client (official) or a 3rd party client (mycli).
Using SQLx 0.6.3
To reproduce:
use sqlx::{MySqlConnection,Connection};#[tokio::main]asyncfnmain(){let conn_res = MySqlConnection::connect("mysql://root@localhost/information_schema").await;ifletErr(what) = conn_res {println!("ERROR: {what}");return;}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dears,
Is MySQL server 5.7 supported?
I'm trying to connect to an instance running version 5.7.35 inside a docker container (official image).
I get the following error when establishing the connection:
error communicating with database: received fatal alert: HandshakeFailure
In the log on MySQL side:
2023-04-25T17:31:28.054458Z 4 [Note] Bad handshake
I can connect to that server using the mysql client (official) or a 3rd party client (mycli).
Using SQLx 0.6.3
To reproduce:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions