Running tutor local quickstart
fails with this final error:
Creating tutor_local_mysql-job_run ... done
Initialising MySQL...
…
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.14' is not allowed to connect to this MySQL server
[10/10] Waiting for MySQL service (this may take a while)...
MySQL initialisation error
ERROR: 1
Error: Command failed with status 1: docker-compose -f /Users/yaron/Library/Application Support/tutor/env/local/docker-compose.yml -f /Users/yaron/Library/Application Support/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /Users/yaron/Library/Application Support/tutor/env/local/docker-compose.jobs.yml run --rm mysql-job sh -e -c echo "Initialising MySQL..."
mysql_connection_max_attempts=10
mysql_connection_attempt=0
Maybe the MySQL access should try some other methods such as running docker exec
commands in case of failure.
I’ve managed to run this exact same command (exited with 1) manually and it worked.
Apparently docker-compose
is now docker compose
, so long PyNaCl nightmares!