From e3cc3ae7627a887903f67e7477a8fd7789a8f142 Mon Sep 17 00:00:00 2001 From: Nicholas Connor Date: Fri, 3 Apr 2020 10:46:42 -0400 Subject: [PATCH] Fix MySQL connection URL example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38d831af..b616c549 100644 --- a/README.md +++ b/README.md @@ -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