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)