From 82cb521d636b282340378d80a6307a08e3d4a4c4 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 3 Jan 2020 05:59:32 -0500 Subject: [PATCH] Fix MySQL docker command line in readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 34c8e8b8457..77de7dc7761 100644 --- a/readme.md +++ b/readme.md @@ -42,7 +42,7 @@ Note that whenever the database type is changed, the app needs to be run with a You could start MySql locally with whatever installer works for your OS, or with docker: ``` -docker run -e MYSQL_ROOT_PASSWORD=petclinic -e MYSQL_DATABASE=petclinic -p 3306:3306 mysql:5.7.8 +docker run -e MYSQL_USER=petclinic -e MYSQL_PASSWORD=petclinic -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=petclinic -p 3306:3306 mysql:5.7.8 ``` Further documentation is provided [here](https://github.com/spring-projects/spring-petclinic/blob/master/src/main/resources/db/mysql/petclinic_db_setup_mysql.txt).