I have a MYSQL database(db_mysql) whose data I want to transfer to another PostgreSQL database(db_psql) which is initially empty.
I tried using the command pgloader mysql://root@localhost/db_mysql pgsql:///db_psql
from the terminal(also using sudo)
But I keep getting an error like this
Failed to connect to mysql at "localhost" (port 3306) as user "root": MySQL Error [1045]: "Access denied for user 'root'@'localhost' (using password: NO)"
I suppose it requires mysql password but I am not sure where to provide it