calm-hair-50010
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?ripe-musician-59933
03/01/2021, 5:40 PMmeltano config tap-mysql
, do you see user
and password
there?calm-hair-50010
03/01/2021, 5:41 PMripe-musician-59933
03/01/2021, 5:42 PMmeltano config tap-mysql list
show a value/source for those keys?calm-hair-50010
03/01/2021, 5:42 PMmeltano.yml
as user/password, like host, database, etc.ripe-musician-59933
03/01/2021, 5:42 PMcalm-hair-50010
03/01/2021, 5:43 PMripe-musician-59933
03/01/2021, 5:44 PMmeltano.yml
?calm-hair-50010
03/01/2021, 5:45 PM# PROD
host: <redacted_but_a_static_value>
user: $MYSQL_USER
password: $MYSQL_PWD
docker run \
--volume $(pwd)/output:/project/output \
--name meltano \
-e MYSQL_USER=$MYSQL_USER \
-e MYSQL_PWD=$MYSQL_PWD \
user [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')
ripe-musician-59933
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
?calm-hair-50010
03/01/2021, 5:50 PMripe-musician-59933
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?calm-hair-50010
03/01/2021, 5:54 PMdocker run
)ripe-musician-59933
03/01/2021, 5:57 PMdocker run -e
some morecalm-hair-50010
03/01/2021, 6:00 PMripe-musician-59933
03/01/2021, 6:01 PMcalm-hair-50010
03/01/2021, 6:19 PM