Skip to content

Commit 1f2cc3c

Browse files
committed
Use MYSQL_ROOT_PASSWORD
1 parent c35aa0c commit 1f2cc3c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
## Quick start
66

7-
You can start Mroonga with an empty root password as
7+
You can start Mroonga with `my-secret-password` for root password as
88

99
```
1010
$ sudo docker container run \
1111
--detach \
12-
--env MYSQL_ALLOW_EMPTY_PASSWORD=1 \
12+
--env MYSQL_ROOT_PASSWORD=my-secret-password \
1313
--name mroonga \
1414
--rm \
1515
groonga/mroonga
16-
$ sudo docker container exec -it mroonga mysql -uroot
16+
$ sudo docker container exec -it mroonga mysql -uroot -p
1717
```
1818

1919
You need to specify one of the following as an environment variable:
@@ -29,7 +29,7 @@ Now, we support to mount datadir from host machine like this.
2929
```
3030
$ sudo docker container run \
3131
--detach \
32-
--env MYSQL_ALLOW_EMPTY_PASSWORD=1 \
32+
--env MYSQL_ROOT_PASSWORD=my-secret-password \
3333
--name mroonga \
3434
--rm \
3535
--volume /path/to/datadir:/var/lib/mysql \

0 commit comments

Comments
 (0)