mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +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 {
|
impl MySqlStream {
|
||||||
pub(super) async fn new(url: &Url) -> crate::Result<Self> {
|
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
|
let mut capabilities = Capabilities::PROTOCOL_41
|
||||||
| Capabilities::IGNORE_SPACE
|
| Capabilities::IGNORE_SPACE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user