KEYCLOAK + MYSQL + DOCKER --> Failed to start

Solution 1:

According to https://github.com/keycloak/keycloak-containers/blob/master/docker-compose-examples/keycloak-mysql.yml, you just add &connectTimeout=30000 to your JDBC_PARAMS environment variable.