I have a backup file which I obtained using pg_dump command in linux mint. I want to restore this database file into a mysql database. I am using dbeaver tool. The command I used to get the database backup was this.
pg_dump -h localhost -p 5432 -U postgres -F c -b -v -f "/home/james/BACKUPFILE.bak" DB_NAME
I am able to restore this backupfile into another postgres database fine but I need to restore the same into a mysql database.
Command I am using to restore the backup into postgres database is
pg_restore -h localhost -p 5432 -U postgres -d DB_NAME_NEW -v "/home/james/BACKUPFILE.bak"
Hope someone can help