From 669e06355eb5b2b69e47f9196677cc876b27023a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez?= <80234551+printchard@users.noreply.github.com> Date: Thu, 25 Jul 2024 23:14:29 -0700 Subject: [PATCH] Fix typo in command in databases.md (#20480) * Fix typo in command in databases.md * Fix typo the other way around to comply with the rest of the document --- content/guides/use-case/databases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/guides/use-case/databases.md b/content/guides/use-case/databases.md index 8217a8d866..0d6dfc7b30 100644 --- a/content/guides/use-case/databases.md +++ b/content/guides/use-case/databases.md @@ -188,7 +188,7 @@ the port mapped. Run the following command in a terminal. ```console -$ docker run -p 3306:3306 --name my-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=mydb -d mysql:latest +$ docker run -p 3307:3306 --name my-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=mydb -d mysql:latest ``` In this command, `-p 3307:3306` maps port 3307 on the host to port 3306 in the container. @@ -675,4 +675,4 @@ Related information: - [Dockerfile reference](/reference/dockerfile/) - [Compose file reference](/compose/compose-file/) - [CLI reference](/reference/cli/docker/) -- [Database samples](../../samples/_index.md#databases) \ No newline at end of file +- [Database samples](../../samples/_index.md#databases)