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:[email protected]/mysql_database postgresql://postgres_user:[email protected]/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.