mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-17 05:48:08 +00:00
Merge pull request #223 from nkconnor/patch-2
Fix MySQL connection URL example
This commit is contained in:
commit
48a4d79dac
@ -190,7 +190,7 @@ Generally, you will want to instead create a connection pool (`sqlx::Pool`) in o
|
||||
regulate how many server-side connections it's using.
|
||||
|
||||
```rust
|
||||
let pool = MySqlPool::new("mysql://user@pass:host/database").await?;
|
||||
let pool = MySqlPool::new("mysql://user:pass@host/database").await?;
|
||||
```
|
||||
|
||||
### Querying
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user