Skip to content

Commit 114aaa5

Browse files
committed
MySqlConnection: warn if server does not support SSL
1 parent 367e663 commit 114aaa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/mysql/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ impl MySqlConnection {
504504
// don't try upgrade
505505
#[cfg(feature = "tls")]
506506
"PREFERRED" if !supports_ssl => {
507-
log::info!("server does not support TLS; using unencrypted connection")
507+
log::warn!("server does not support TLS; using unencrypted connection")
508508
}
509509

510510
// try to upgrade

0 commit comments

Comments
 (0)