You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -40,11 +40,11 @@ docker run -it --rm joseluisq/mysql-client mysql --version
40
40
41
41
- The default user (unprivileged) is `mysql`.
42
42
-`mysql` home directory is located at `/home/mysql`.
43
-
- If you want a full privileged user try `root`. E.g append a `--user root` argument to `docker run`.
43
+
- If you want a fully privileged user try `root`. E.g append a `--user root` argument to `docker run`.
44
44
45
45
## Exporter
46
46
47
-
`mysql_exporter` is a custom tool that exports a database script using `mysqldump`. Additionally, it support gzip compression.
47
+
`mysql_exporter` is a custom tool that exports a database script using `mysqldump`. Additionally, it supports gzip compression.
48
48
It can be configured via environment variables or using `.env` file.
49
49
50
50
### Setup via environment variables
@@ -107,7 +107,7 @@ __Notes:__
107
107
108
108
-`--volume $PWD:/home/mysql/sample` specifies a [bind mount [directory](https://docs.docker.com/storage/bind-mounts/) from the host to the container.
109
109
-`$PWD` is just an example host working directory. Use your path.
110
-
-`/home/mysql/` is default home directory user (optional). View [User privileges](#user-privileges) section above.
110
+
-`/home/mysql/` is the default home directory user (optional). View the[User privileges](#user-privileges) section above.
111
111
-`/home/mysql/sample` is a container directory that Docker will create for us.
112
112
-`--workdir /home/mysql/sample` specifies the working directory used by default inside the container.
113
113
-`production.env` is a custom env file path with the corresponding environment variables passed as arguments. That file should be available in your host working directory. E.g `$PWD` in this case.
@@ -185,7 +185,7 @@ docker run --rm -it \
185
185
186
186
**Notes:**
187
187
188
-
-`DB_IMPORT_GZIP=true`: Decompress a dump file using Gzip (optional). If `false` or not defined then the import file will be treated as plain `.sql` file.
188
+
-`DB_IMPORT_GZIP=true`: Decompress a dump file using Gzip (optional). If `false` or not defined then the import file will be treated as a plain `.sql` file.
189
189
-`DB_ARGS`: can be used to pass more `mysql` arguments (optional).
190
190
- A `.env` example file can be found at [./8.0/env/mysql_importer.env](./8.0/env/mysql_importer.env)
191
191
@@ -199,4 +199,4 @@ Feel free to send some [pull request](https://github.com/joseluisq/docker-mysql-
199
199
200
200
This work is primarily distributed under the terms of both the [MIT license](LICENSE-MIT) and the [Apache License (Version 2.0)](LICENSE-APACHE).
0 commit comments