Regenerate

This commit is contained in:
Yngve Svendsen 2015-03-21 08:24:48 -04:00
parent a460530abf
commit 7545a999f4
1 changed files with 3 additions and 3 deletions

View File

@ -46,10 +46,10 @@ The `docker exec` command allows you to run commands inside a Docker container.
docker exec -it some-mysql 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:
docker logs some-mysql
more /var/log/mysql/error.log
## Using a custom MySQL configuration file
The MySQL startup configuration is specified in the file `/etc/mysql/my.cnf`. If you want to customize this configuration for your own purposes, you can create your alternative configuration file in a directory on the host machine and then mount this file in the appropriate location inside the `mysql` container, effectively replacing the standard configuration file.