I am trying to migrate a postgresql database to mysql following this tutorial: http://mysqlworkbench.org/2012/11/how-to-migrate-postgresql-databases-to-mysql-using-the-mysql-wo
In my case I was using Windows 64bit and using "PostgreSQL ANSI(x64)" did connect to the Postgres database but it gave errors while migrating the database from Postgres to Mysql. I used the driver "PostgreSQL Unicode(x64)" and it worked. If your data contains unicode characters i.e. non ASCII characters use "PostgreSQL Unicode(x64)" drivers.
Just quoting Craig Ringer's comment to make it "more visible"
If you have Windows 64Bits then you probably had installed only the 64bit psqlodbc drivers, so all you need is to use e.g.: PostgreSQL ANSI(x64)
(I had used that and worked for me)
Just stuck onto it for at least 1h until came into Craig's comment, Thanks man!
Download and install the MSI package for psqlODBC from
http://www.postgresql.org/ftp/odbc/versions/msi/ .
Then connect using the following settings
Driver: PostgreSQL ANSI
Connection method: ODBC (Manually entered parameters)
This worked for me.
I encountered the same error. Here is how I solved it:
I downloaded the drivers from https://www.postgresql.org/ftp/odbc/versions/msi/ (Select the most recent one for x64)
In the Overview form, click on the button "Open ODBC Administrator". Add the recently installed "PostgreSQL ANSI(x64)". Click "Finish".
When you "Start Migration", in the source selection form, use "Driver: PostgreSQL ANSI(x64)"
This worked for me (w/ ODBC installed):
For those on Ubuntu install the postgres ODBC drivers:
apt-get install odbc-postgresql