Merge pull request #223 from nkconnor/patch-2

Fix MySQL connection URL example
This commit is contained in:
Ryan Leckey 2020-04-03 13:07:51 -07:00 committed by GitHub
commit 48a4d79dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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