我正在尝试从 MySQL 迁移到 PostgreSQL 数据库。
有什么方法可以在不修改my.cnf
文件的情况下从 MySQL 迁移到 PostgreSQL?
pgloader mysql://root:root_password@127.0.0.1/mysql_database postgresql://postgres_user:postgres_pass@127.0.0.1/postgres_database
我尝试创建这个:
create user 'pgloader'@'localhost' identified with mysql_native_password by 'pass'
但是当我尝试迁移时,我总是得到这个错误:
Failed to connect to mysql at "localhost" (port 3306) as user "pgloader": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled.