Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
I have been trying to use ora2pg for mysql migration
Created initial configuration and template
Updated ora2pg conf file with Mysql and PG DSN
Export_schema.sh runs ok
When I try to export data using ora2pg - t COPY -o data.sql -b ./data - c
I get below error
FATAL: LDAP authentication failed for user "test_user"
Aborting export
Test_user is a valid db user in Postgresql and I can connect to Postgresql database using it
Secondly I get the below error when I run
./import_all.sh -U test_user -d testdb -p 5446 -n testschema -o test_user
When I try to import TABLE by selection Y
Error : no schema has been selected to create in LINE 1 : CREATE TABLE account (
Error : an error occurs when importing file ./schema/tables/table.sql
Hi,
I have been trying to use ora2pg for mysql migration
Created initial configuration and template Updated ora2pg conf file with Mysql and PG DSN Export_schema.sh runs ok When I try to export data using ora2pg - t COPY -o data.sql -b ./data - c
I get below error FATAL: LDAP authentication failed for user "test_user" Aborting export
Test_user is a valid db user in Postgresql and I can connect to Postgresql database using it
Secondly I get the below error when I run ./import_all.sh -U test_user -d testdb -p 5446 -n testschema -o test_user
When I try to import TABLE by selection Y
Error : no schema has been selected to create in LINE 1 : CREATE TABLE account (
Error : an error occurs when importing file ./schema/tables/table.sql
How do I resolve these 2 errors? Thanks