diff --git a/src/connector/connection_info.rs b/src/connector/connection_info.rs index 42e5a76e6..24e2db0bd 100644 --- a/src/connector/connection_info.rs +++ b/src/connector/connection_info.rs @@ -57,9 +57,10 @@ impl ConnectionInfo { }); } } - _ => { + s if s.starts_with("jdbc:sqlserver") || s.starts_with("sqlserver") => { return Ok(ConnectionInfo::Mssql(MssqlUrl::new(url_str)?)); } + _ => (), } }