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-workbench-migration-wizard/
I am experiencing this error when I try to test my connection
Could not connect to Source DBMS [IM002][Microsoft][ODBC Driver Manager] Data soure name not found and no default driver specified (0)(SQLDriverConnect)
ODBC connection string
Driver=psqlodc;SERVER=127.0.0.1;PORT=5432;DATA...
Does anyone know how to correct this error?
With access to live PostgreSQL data from MySQL Workbench, you can easily query and update PostgreSQL, just like you would a MySQL database.
MySQL :: How-To: Migrate PostgreSQL databases to MySQL using the MySQL Workbench Migration Wizard. MySQL Workbench 5.2. 41 introduced the new Migration Wizard module. This module allows you to easily and quickly migrate databases from various RDBMS products to MySQL.
I followed the official documentation from MySQL Workbench, in which they tell you to set up you ODBC
connection as
Name: 'psqlODBC'
This is now the name of the driver
. So whatever you have called the name in ODBC
will need to match your Driver
inside Workbench
Name
psqlODBC
Matches Driver here
psqlODBC
And then hopefully you'll get:
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)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With