nick_hamlin
03/01/2021, 5:37 PMConfig is missing required keys: ['user', 'password'] for tap-mysql. Those fields definitely exist within my meltano.yml (which works fine running outside the container), and I’ve passed the credentials themselves in as environment variables during my docker run. My only other guess is that perhaps meltano might be looking for a value saved in the SQLite DB that’s not exposed inside the container?douwe_maan
03/01/2021, 5:40 PMmeltano config tap-mysql, do you see user and password there?nick_hamlin
03/01/2021, 5:41 PMdouwe_maan
03/01/2021, 5:42 PMmeltano config tap-mysql list show a value/source for those keys?nick_hamlin
03/01/2021, 5:42 PMmeltano.yml as user/password, like host, database, etc.douwe_maan
03/01/2021, 5:42 PMnick_hamlin
03/01/2021, 5:43 PMnick_hamlin
03/01/2021, 5:44 PMdouwe_maan
03/01/2021, 5:44 PMmeltano.yml?nick_hamlin
03/01/2021, 5:45 PMnick_hamlin
03/01/2021, 5:45 PM# PROD
host: <redacted_but_a_static_value>
user: $MYSQL_USER
password: $MYSQL_PWDnick_hamlin
03/01/2021, 5:46 PMdocker run \
--volume $(pwd)/output:/project/output \
--name meltano \
-e MYSQL_USER=$MYSQL_USER \
-e MYSQL_PWD=$MYSQL_PWD \nick_hamlin
03/01/2021, 5:47 PMuser [env: TAP_MYSQL_USER] current value: None (from `meltano.yml`: '$MYSQL_USER')
password [env: TAP_MYSQL_PASSWORD] current value: None (from `meltano.yml`: '$MYSQL_PWD')douwe_maan
03/01/2021, 5:48 PMMYSQL_USER is not set when meltano config is running. Do you see anything logged about that if you run with meltano --log-level=debug config?nick_hamlin
03/01/2021, 5:50 PMnick_hamlin
03/01/2021, 5:52 PMdouwe_maan
03/01/2021, 5:53 PMdocker run should work. If you use -e MYSQL_USER=test instead of -e MYSQL_USER=$MYSQL_USER , does it work?nick_hamlin
03/01/2021, 5:54 PMnick_hamlin
03/01/2021, 5:55 PMdocker run)douwe_maan
03/01/2021, 5:57 PMdouwe_maan
03/01/2021, 5:58 PMdocker run -e some morenick_hamlin
03/01/2021, 6:00 PMdouwe_maan
03/01/2021, 6:01 PMnick_hamlin
03/01/2021, 6:19 PMnick_hamlin
03/01/2021, 6:19 PM