bumpy-ram-82773
02/15/2021, 12:25 PM<postgresql://sysadmin>@base-etl-warehouse-postgresql:<mailto:XXXXXX@base-etl-warehousepostgresql.postgres.database.azure.com|XXXXXX@base-etl-warehousepostgresql.postgres.database.azure.com>:5432/meltano?sslmode=require
), but it does not work, due to: (psycopg2.OperationalError) could not translate host name "<http://base-etl-warehousepostgresql.postgres.database.azure.com|base-etl-warehousepostgresql.postgres.database.azure.com>" to address: Name or service not known
, which is nonsense, because I am using same server ( different db ) for target-postgres, note that Azure is using sysadmin@base-etl-warehouse-postgresql
format of usernameripe-musician-59933
02/15/2021, 4:23 PM.meltano/meltano.db
: https://gitlab.com/meltano/meltano/-/merge_requests/1620/diffs#945551220e40ad5fe3602afd73183e0f595abfe5_0_16, or just the state file: https://gitlab.com/meltano/meltano/-/issues/2566
Your Azure PostgresQL URL is likely failing because of that @
in the username which is interpreted as the username/host separator. If you encode it as %40
int the URL it should make it to Azure as @
:
<postgresql://sysadmin%40base-etl-warehouse-postgresql:XXXXXX@base-etl-warehousepostgresql.postgres.database.azure.com:5432/meltano?sslmode=require>
bumpy-ram-82773
02/15/2021, 4:33 PMripe-musician-59933
02/15/2021, 4:43 PMbumpy-ram-82773
02/15/2021, 4:44 PM@
char does not work..Did You ever try to use Azure Postgresql?ripe-musician-59933
02/15/2021, 4:49 PM<http://base-etl-warehousepostgresql.postgres.database.azure.com|base-etl-warehousepostgresql.postgres.database.azure.com>
correct or should it be <http://base-etl-warehouse-postgresql.postgres.database.azure.com|base-etl-warehouse-postgresql.postgres.database.azure.com>
with an extra -
?bumpy-ram-82773
02/15/2021, 4:55 PM@
)ripe-musician-59933
02/15/2021, 5:00 PMmeltano will not run without state file..It should be able to! Did you see an error?
bumpy-ram-82773
02/15/2021, 5:01 PMripe-musician-59933
02/15/2021, 5:39 PM--state <path>
on the CLI or state: <path>
in meltano.yml
, Meltano will always expect that file to exist. Do you have a way of not passing --state
when you don't have one yet? Alternatively, you can just write {}
to a file to serve as an empty state file