Update on how to view logs: MySQL logs go to stderr.
This commit is contained in:
parent
7545a999f4
commit
42013fa438
|
|
@ -38,9 +38,9 @@ The `docker exec` command allows you to run commands inside a Docker container.
|
|||
|
||||
docker exec -it some-%%REPO%% bash
|
||||
|
||||
The MySQL Server log is located at `/var/log/mysql/error.log` inside the container, and the following command line from a shell inside the container will let you inspect it:
|
||||
The MySQL Server log is available through Docker's container log:
|
||||
|
||||
more /var/log/mysql/error.log
|
||||
docker logs some-%%REPO%%
|
||||
|
||||
## Using a custom MySQL configuration file
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue