This is a script that grabs logs from MySQL and sends them to CloudWatch Logs.
- Enable the desired logs. The script will attempt to do so for you, but may fail (gracefully), based on if the user has permissions or not. More information:
- Create a
.envfile with your AWS connection information and other environment variables. Seedocker-compose.ymlfor the list of supported variables. - TODO
cd tests
docker-compose up mysql
# this will print out a bunch of junk you can probably ignore
# in another terminal
docker-compose run testsIf you get an error about "signature expired" or anything else related to timing, it is a clock drift bug in Docker. Restart Docker for Mac/Windows.