Skip to content
This repository was archived by the owner on Jun 28, 2018. It is now read-only.

MySQL expects integer, not string#99

Closed
iwankgb wants to merge 1 commit intomattes:masterfrom
iwankgb:wrong_mysql_settings
Closed

MySQL expects integer, not string#99
iwankgb wants to merge 1 commit intomattes:masterfrom
iwankgb:wrong_mysql_settings

Conversation

@iwankgb
Copy link
Copy Markdown

@iwankgb iwankgb commented Jun 2, 2016

While running make I got following error:

~/go_workspace/src/github.com/mattes/migrate • make                                                                                                         11:46  iwan@iwan-developmen
docker-compose run --rm go-test
ERROR: The Compose file './docker-compose.yml' is invalid because:
mysql.environment.MYSQL_ALLOW_EMPTY_PASSWORD contains true, which is an invalid type, it should be a string, number, or a null
Makefile:11: recipe for target 'test' failed
make: *** [test] Error 1

OS: Ubuntu 16.04
Go: 1.6
Docker 1.11.1
docker-compose: 1.7.1

@gravis
Copy link
Copy Markdown
Contributor

gravis commented Jun 2, 2016

The doc doesn't mention that: https://hub.docker.com/_/mysql/

MYSQL_ALLOW_EMPTY_PASSWORD
This is an optional variable. Set to yes to allow the container to be started with a blank password for the root user.

It should be changed to "yes" instead. fixed by gemnasium/migrate#2

@mattes mattes closed this Dec 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants