Re: [GENERAL] Oracle to PostgreSQL Migration.

Поиск
Список
Период
Сортировка
От Chris Mair
Тема Re: [GENERAL] Oracle to PostgreSQL Migration.
Дата
Msg-id 342051cfd508755a032d133ed0ab666e@smtp.hushmail.com
обсуждение исходный текст
Ответ на [GENERAL] Oracle to PostgreSQL Migration.  (PAWAN SHARMA <er.pawanshr0963@gmail.com>)
Ответы Re: [GENERAL] Oracle to PostgreSQL Migration.  (PAWAN SHARMA <er.pawanshr0963@gmail.com>)
Список pgsql-general
> I am facing below issue while running below command.
>
> *C:\ora2pg>ora2pg -c ora2pg.conf*
> DBI connect('host=<servername>;sid=<SID>;port=<port>',<username>',...) failed: ORA-01017: invalid username/p
> assword; logon denied (DBD ERROR: OCISessionBegin) at C:/Strawberry/perl/site/lib/Ora2Pg.pm line 1376.
> FATAL: 1017 ... ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)
> Aborting export...
>
> even I am able to login in Oracle with same <username> and <password>

If you can login from the same host using sqlplus like this:

sqlplus myuser/mypass@myhost:1521/mysid

then you likely can have ora2pg connect too. Just make sure that in ora2pg.conf you put the lines:

ORACLE_DSN  dbi:Oracle:host=myhost;sid=mysid
ORACLE_USER myuser
ORACLE_PWD  mypass

Bye,
Chris.




В списке pgsql-general по дате отправления:

Предыдущее
От: PAWAN SHARMA
Дата:
Сообщение: [GENERAL] Oracle to PostgreSQL Migration.
Следующее
От: PAWAN SHARMA
Дата:
Сообщение: Re: [GENERAL] Oracle to PostgreSQL Migration.