mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 22:42:11 +00:00
mysql: use correct default port
This commit is contained in:
parent
0a534792bb
commit
2f78ce094c
@ -29,7 +29,7 @@ pub(crate) struct MySqlStream {
|
||||
|
||||
impl MySqlStream {
|
||||
pub(super) async fn new(url: &Url) -> crate::Result<Self> {
|
||||
let stream = MaybeTlsStream::connect(&url, 5432).await?;
|
||||
let stream = MaybeTlsStream::connect(&url, 3306).await?;
|
||||
|
||||
let mut capabilities = Capabilities::PROTOCOL_41
|
||||
| Capabilities::IGNORE_SPACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user