Summary
migration-assist pgloader fails when migrating from MySQL to Postgres
Steps to reproduce
migration-assist pgloader --mysql=“<MYSQL_DSN>” --postgres=“<POSTGRES_DSN>” > migration.load
Expected behavior
migration-assist mysql "<MYSQL_DSN>"
succeededmigration-assist postgres "<POSTGRES_DSN>" --run-migrations --mattermost-version="v10.1.1"
succeededmigration-assist pgloader --mysql="<MYSQL_DSN>" --postgres="<POSTGRES_DSN>" > migration.load
failed with error
For 3) my command looks in detail like this:
./migration-assist pgloader --postgres="postgres://mattermost_db1:PASSWORD@127.0.0.1:5432/mattermost_db1" --mysql="mattermost_db1:PASSWORD@tcp(127.0.0.1:3306)/mattermost_db1" > migration.load
Observed behavior
For 3) the error message is like this:
An Error Occurred: could not generate config: could not parse mysql DSN: no match found
Can someone help and tell me if my DSNs are somewhere wrong?