Skip to content

Commit

Permalink
Merge #6794
Browse files Browse the repository at this point in the history
6794: docs: fix mysql docker instructions r=jmcameron a=jniles

This commit fixes the docker installation instructions to ensure
that the commands are ordered properly.

-----
[View rendered docs/en/for-developers/installing-bhima.md](https://github.com/jniles/bhima/blob/docs-fix-docker-install-instructions/docs/en/for-developers/installing-bhima.md)
[View rendered docs/fr/for-developers/installing-bhima.md](https://github.com/jniles/bhima/blob/docs-fix-docker-install-instructions/docs/fr/for-developers/installing-bhima.md)

Co-authored-by: Jonathan Niles <jonathanwniles@gmail.com>
  • Loading branch information
bors[bot] and jniles authored Aug 27, 2022
2 parents c4e317b + 8bf0fc7 commit 825032f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/for-developers/installing-bhima.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ To start a MySQL server using docker you can use:
# in this example, we use "mysql" as the tag name

docker run --name mysql -p 3306:3306 \
-d mysql/mysql-server:8.0 \
-e MYSQL_ROOT_PASSWORD=MyPassword \
-e MYSQL_ROOT_HOST=% \
-d mysql/mysql-server:8.0 \
--sql-mode='STRICT_ALL_TABLES,NO_UNSIGNED_SUBTRACTION' \
--default-authentication-plugin=mysql_native_password

Expand Down
5 changes: 3 additions & 2 deletions docs/fr/for-developers/installing-bhima.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ Tu peux aussi utiliser docker avec mysql. Le command pour le lancer est:

#demarrer docker sur port 3306

docker run --name mysql8 -p 3306:3306 \
docker run --name mysql -p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=MyPassword \
-d mysql:8 \
-e MYSQL_ROOT_HOST=% \
-d mysql/mysql-server:8.0 \
--sql-mode='STRICT_ALL_TABLES,NO_UNSIGNED_SUBTRACTION' \
--default-authentication-plugin=mysql_native_password

Expand Down

0 comments on commit 825032f

Please sign in to comment.