I'm trying to migrate from MySQL to PostgreSQL database.
Is there any way to migrate from MySQL to PostgreSQL without modifying the my.cnf
file?
pgloader mysql://root:root_password@127.0.0.1/mysql_database postgresql://postgres_user:postgres_pass@127.0.0.1/postgres_database
I tried creating this:
create user 'pgloader'@'localhost' identified with mysql_native_password by 'pass'
But when I try the migration, I always get this error:
Failed to connect to mysql at "localhost" (port 3306) as user "pgloader": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled.