Thread: regarding schema only migration from sqlserver to postgres with runmtk.sh
regarding schema only migration from sqlserver to postgres with runmtk.sh
Source database connectivity info...
conn =jdbc:jtds:sqlserver://dns name/DataFeed
user =trustfort
password=******
Target database connectivity info...
conn =jdbc:postgresql://dnsname:5432/edb
user =postgres
password=******
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3378)
at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700)
./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly -allTables dbo
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
Running EnterpriseDB Migration Toolkit (Build 49.0.4) ...
Fwd: regarding schema only migration from sqlserver to postgres with runmtk.sh
From: David G. Johnston <david.g.johnston@gmail.com>
Date: Wed, Jun 15, 2016 at 8:40 PM
Subject: Re: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh
To: Durgamahesh Manne <maheshpostgres9@gmail.com>
as per above discussion. i already enabled tcp/ip based access on which the server to listen connections from client applications as well as already set password for required usermay i know the recommended approach for migrate the tables from sql server to postgesqlplease let me know
Fwd: regarding schema only migration from sqlserver to postgres with runmtk.sh
From: Durgamahesh Manne <maheshpostgres9@gmail.com>
Date: Wed, Jun 15, 2016 at 8:57 PM
Subject: Fwd: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh
To: pgsql-general@postgresql.org
Cc: "David G. Johnston" <david.g.johnston@gmail.com>
From: David G. Johnston <david.g.johnston@gmail.com>
Date: Wed, Jun 15, 2016 at 8:40 PM
Subject: Re: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh
To: Durgamahesh Manne <maheshpostgres9@gmail.com>
as per above discussion. i already enabled tcp/ip based access on which the server to listen connections from client applications as well as already set password for required usermay i know the recommended approach for migrate the tables from sql server to postgesqlplease let me know
Re: Fwd: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/15/2016 08:27 AM, Durgamahesh Manne wrote: > > ---------- Forwarded message ---------- > From: *David G. Johnston* <david.g.johnston@gmail.com > <mailto:david.g.johnston@gmail.com>> > Date: Wed, Jun 15, 2016 at 8:40 PM > Subject: Re: [GENERAL] regarding schema only migration from sqlserver to > postgres with runmtk.sh > To: Durgamahesh Manne <maheshpostgres9@gmail.com > <mailto:maheshpostgres9@gmail.com>> > > > On Wed, Jun 15, 2016 at 11:00 AM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>>wrote: > > as per above discussion. i already enabled tcp/ip based access on > which the server to listen connections from client applications as > well as already set password for required user > > > may i know the recommended approach for migrate the tables from sql > server to postgesql > > > please let me know > > > > I've helped you all that I can, and I do not respond well to personal > emails asking for help. Direct all correspondence to the list: it is ok > to CC: people who have already replied. And, as I said, this is not the > correct forum for your question. You are using a third-party tool so > they are the ones you should be asking. In this case they do monitor > these lists and may chime in but as a matter of proper etiquette this > discussion is off-topic for this list. Specifically it is a request for > help on how to use a specific non-community-PostgreSQL product. > > I suspect that "dnsname" is not actually the host name for your > server...if the URL is invalid and you've munged it for email it would > be impossible for us to point out to you how/if that is so. > > David J. > > > > sir as per above discussion > > conn =jdbc:postgresql://archive.tf.com <http://archive.tf.com>:5432/ > <http://archive.trustfort.com:5432/edb>edb > > i earlier mentioned the host name of the server (archive.tf.com > <http://archive.tf.com>) Are you sure? When I enter archive.tf.com or tf.com in a browser I get: http://www.cyberfinder.com/ I would: 1) Verify the host name. 2) Then try connecting via a non-JDBC method, say using psql. If that works go to 3), otherwise come back here with information on what you did and how it failed. 3) Then try the migration tool. If that fails contact EDB. > > may i know recommended approach to migrate the tables from sql server > to postgresql instead of using 3rd party tools > > thank you > -- Adrian Klaver adrian.klaver@aklaver.com
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
may i know recommended approach to migrate the tables from sql server to postgresql instead of using 3rd party tools
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
i earlier mentioned the host name of the server (archive.tf.com)
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/15/2016 01:30 PM, David G. Johnston wrote: > On Wed, Jun 15, 2016 at 11:27 AM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>>wrote: > > may i know recommended approach to migrate the tables from sql > server to postgresql instead of using 3rd party tools > > > Answering this specifically. > > There are none. The community PostgreSQL project maintains no tools > that speak to SQL Server. That is true, but the external PostgreSQL community does: https://github.com/tds-fdw/tds_fdw > > One possible option to use the PostgreSQL's FDW capabilities with a > suitable third-party extension that does talk to SQL Server. If you have access to MS Access, you can create linked tables between MSSQL and PostgreSQL. You can then create queries to move the data between the tables. Libreoffice may have similar functionality as well (I don't know). Sincerely, JD -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. Everyone appreciates your honesty, until you are honest with them.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
One possible option to use the PostgreSQL's FDW capabilities with a suitable third-party extension that does talk to SQL Server.The other is to dump plain SQL, hopefully standard-conforming, INSERT statements from the SQL Server and load them into PostgreSQL via psql.
last time I had to convert some MS SQL to another database (it was MySQL but thats immaterial), I wrote a perl script to do it. there were only 6 or 8 tables, so I manually created the schema, then my perl script stepped through each table, for each row, fetching from the source database and inserting into the destination.
-- john r pierce, recycling bits in santa cruz
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of David G. Johnston
Sent: Wednesday, June 15, 2016 1:31 PM
To: Durgamahesh Manne <maheshpostgres9@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh
On Wed, Jun 15, 2016 at 11:27 AM, Durgamahesh Manne <maheshpostgres9@gmail.com> wrote:
may i know recommended approach to migrate the tables from sql server to postgresql instead of using 3rd party tools
I suppose SQL Server has some means to export in TSV/CSV or other row-oriented structured output. The \copy psql meta-command or COPY SQL command could load that data.
David J.
There are MANY tools for sql server, many are built in (aka free) that will generate DDL, or extract data, or both, plus you can directly query the system catalogs, just like PG. Utterly trivial stuff to use and Postgres can ingest all of it since it’s normally either flat file or ansi sql.
MikeS
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of David G. Johnston
Sent: Wednesday, June 15, 2016 1:31 PM
To: Durgamahesh Manne <maheshpostgres9@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh
On Wed, Jun 15, 2016 at 11:27 AM, Durgamahesh Manne <maheshpostgres9@gmail.com> wrote:
may i know recommended approach to migrate the tables from sql server to postgresql instead of using 3rd party tools
I suppose SQL Server has some means to export in TSV/CSV or other row-oriented structured output. The \copy psql meta-command or COPY SQL command could load that data.
David J.
There are MANY tools for sql server, many are built in (aka free) that will generate DDL, or extract data, or both, plus you can directly query the system catalogs, just like PG. Utterly trivial stuff to use and Postgres can ingest all of it since it’s normally either flat file or ansi sql.
MikeS
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/15/2016 08:50 PM, Durgamahesh Manne wrote: > sir > > as per above discussion .the URL which i mentioned in toolkit properties > was 100% correct .i have checked db connectivity from another cluster > with psql .connection esatblished to below mentioned database > conn =jdbc:postgresql://archive.trustfort.com:5432 > <http://archive.trustfort.com:5432>/edb > > > > thank you for the valuable information So does this mean the migration is working now? -- Adrian Klaver adrian.klaver@aklaver.com
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
sir
PostgreSQL always no1 in world
as per above discussion
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
sir
PostgreSQL always no1 in world
as per above discussionmigration not working from sql to postgreSQL with runmtk.shsame error repeated even there mentioned correct credentials as here i checked multiple times
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/16/2016 07:19 AM, Durgamahesh Manne wrote: > > sir > > PostgreSQL always no1 in world > as per above discussion > > migration not working from sql to postgreSQL with runmtk.sh > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the "target" > database is invalid. > Check the connectivity credentials. > > > > same error repeated even there mentioned correct credentials as here i > checked multiple times Are you sure you are looking at the right file? Also: Have you looked here?: https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.16.html# In particular do you have a user and associated password set for the Postgres database? > > thank you > > > -- Adrian Klaver adrian.klaver@aklaver.com
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
TARGET_DB_USER=postgres
TARGET_DB_PASSWORD=*****
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
sir
PostgreSQL always no1 in world
as per above discussionmigration not working from sql to postgreSQL with runmtk.shsame error repeated even there mentioned correct credentials as here i checked multiple times
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.Maybe you should try using an IP address instead of a host name.David J.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
hisiras per above discussion same error repeated even mentioned ip address of hostname./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly -allTables dbo
TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
TARGET_DB_USER=postgres
TARGET_DB_PASSWORD=*****
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:
sir
PostgreSQL always no1 in world
as per above discussionmigration not working from sql to postgreSQL with runmtk.shsame error repeated even there mentioned correct credentials as here i checked multiple times
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.Maybe you should try using an IP address instead of a host name.David J.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
Please don't top-post. On Thursday, June 16, 2016 8:30:53 PM EDT Durgamahesh Manne wrote: > hi > sir > as per above discussion same error repeated even mentioned ip address of > hostname > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly > -allTables dbo > > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > TARGET_DB_USER=postgres > TARGET_DB_PASSWORD=***** > > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the "target" > database is invalid. > Check the connectivity credentials. > So have you tried the connectivity details? What does $ psql --host 192.168.168.201 --user postgres -d raghu give you? I have a sneaking suspicion you don't have TCP/IP access to the database configured in pg_hba.conf.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 2016-06-16 11:13 AM, Durgamahesh Manne wrote: > yes sir > > as per above discussion..i already looked pdf postgres plus guide you > mentioned > > as well as i already set password for postgres user associated with > postgres db > > On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>> wrote: > > hi > sir > as per above discussion same error repeated even mentioned ip > address of hostname > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly > -allTables dbo > > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > <http://192.168.168.201:5432/raghu> > TARGET_DB_USER=postgres > TARGET_DB_PASSWORD=***** > > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the "target" > database is invalid. > Check the connectivity credentials. > > On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston > <david.g.johnston@gmail.com <mailto:david.g.johnston@gmail.com>> wrote: > > On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>>wrote: > > > sir > > PostgreSQL always no1 in world > as per above discussion > > migration not working from sql to postgreSQL with runmtk.sh > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is > invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the > "target" database is invalid. > Check the connectivity credentials. > > > > same error repeated even there mentioned correct credentials > as here i checked multiple times > > > Maybe you should try using an IP address instead of a host name. > > David J. > > > > I've never used this tool so like everyone else I am guessing here but having quickly looked at the documentation have you tried specifying the '-targetdbtype postgres' in addition to the '-sourcedbtype sqlserver' that you have already specified? Neil A
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
psql --host 192.168.168.201 --user postgres -d raghu
Password for user postgres:
psql.bin (9.4.8, server 9.4.4)
Type "help" for help.
No entry for terminal type "xterm";
using dumb terminal settings.
raghu=#
Please don't top-post.
On Thursday, June 16, 2016 8:30:53 PM EDT Durgamahesh Manne wrote:
> hi
> sir
> as per above discussion same error repeated even mentioned ip address of
> hostname
>
> ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly
> -allTables dbo
>
>
> TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
> TARGET_DB_USER=postgres
> TARGET_DB_PASSWORD=*****
>
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target" database is invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified for the "target"
> database is invalid.
> Check the connectivity credentials.
>
So have you tried the connectivity details? What does
$ psql --host 192.168.168.201 --user postgres -d raghu
give you?
I have a sneaking suspicion you don't have TCP/IP access to the database
configured in pg_hba.conf.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/16/2016 08:13 AM, Durgamahesh Manne wrote: > yes sir > > as per above discussion..i already looked pdf postgres plus guide you > mentioned > > as well as i already set password for postgres user associated with > postgres db Is the Postgres server you are trying to connect to the Postgres Advanced Server from EDB? If so then you need to look here: https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.15.html# Where the important part is: TARGET_DB_URL=jdbc:edb://192.168.168.201:5432/raghu instead of: TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > > On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>> wrote: > > hi > sir > as per above discussion same error repeated even mentioned ip > address of hostname > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly > -allTables dbo > > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > <http://192.168.168.201:5432/raghu> > TARGET_DB_USER=postgres > TARGET_DB_PASSWORD=***** > > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the "target" > database is invalid. > Check the connectivity credentials. > > On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston > <david.g.johnston@gmail.com <mailto:david.g.johnston@gmail.com>> wrote: > > On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>>wrote: > > > sir > > PostgreSQL always no1 in world > as per above discussion > > migration not working from sql to postgreSQL with runmtk.sh > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is > invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the > "target" database is invalid. > Check the connectivity credentials. > > > > same error repeated even there mentioned correct credentials > as here i checked multiple times > > > Maybe you should try using an IP address instead of a host name. > > David J. > > > > -- Adrian Klaver adrian.klaver@aklaver.com
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
./runMTK.sh -sourcedbtype sqlserver -targetdbtype postgresql -targetSchema public -schemaOnly -allTables dbo
Running EnterpriseDB Migration Toolkit (Build 49.0.4) ...
Source database connectivity info...
conn =jdbc:jtds:sqlserver://fxserver.trustfort.com:49883/DataFeedHandler
user =trustfort
password=******
Target database connectivity info...
conn =jdbc:postgresql://192.168.168.201:5432/raghu
user =postgres
password=******
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target Postgres database server...
Exception in thread "main" java.lang.NoClassDefFoundError: org/postgresql/Driver
at com.edb.dbhandler.postgresql.PGConnection.<init>(PGConnection.java:32)
at com.edb.common.MTKFactory.createMTKConnection(MTKFactory.java:228)
at com.edb.MigrationToolkit.createNewTargetConnection(MigrationToolkit.java:5987)
at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3376)
at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700)
Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
On 2016-06-16 11:13 AM, Durgamahesh Manne wrote:yes sir
as per above discussion..i already looked pdf postgres plus guide you
mentioned
as well as i already set password for postgres user associated with
postgres db
On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne
<maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>> wrote:
hi
sir
as per above discussion same error repeated even mentioned ip
address of hostname
./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly
-allTables dbo
TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
<http://192.168.168.201:5432/raghu>
TARGET_DB_USER=postgres
TARGET_DB_PASSWORD=*****
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the "target"
database is invalid.
Check the connectivity credentials.
On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston
<david.g.johnston@gmail.com <mailto:david.g.johnston@gmail.com>> wrote:
On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne
<maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>>wrote:
sir
PostgreSQL always no1 in world
as per above discussion
migration not working from sql to postgreSQL with runmtk.sh
Connecting with source SQL Server database server...
Connected to Microsoft SQL Server, version '10.50.1600'
Connecting with target EnterpriseDB database server...
MTK-10045: The URL specified for the "target" database is
invalid.
Check the connectivity credentials.
Stack Trace:
com.edb.MTKException: MTK-10045: The URL specified for the
"target" database is invalid.
Check the connectivity credentials.
same error repeated even there mentioned correct credentials
as here i checked multiple times
Maybe you should try using an IP address instead of a host name.
David J.
I've never used this tool so like everyone else I am guessing here but having quickly looked at the documentation have you tried specifying the '-targetdbtype postgres' in addition to the '-sourcedbtype sqlserver' that you have already specified?
Neil A
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
**************************************** P L E A S E D O N ' T T O P P O S T **************************************** On Thursday, June 16, 2016 9:00:48 PM EDT Durgamahesh Manne wrote: > as per above conversation. i checked connectivity details as it is > connected to database (even hostname i mentioned connected to database) > psql --host 192.168.168.201 --user postgres -d raghu > Password for user postgres: > psql.bin (9.4.8, server 9.4.4) > Type "help" for help. > > No entry for terminal type "xterm"; > using dumb terminal settings. > raghu=# > > On Thu, Jun 16, 2016 at 8:51 PM, Jan de Visser <jan@de-visser.net> wrote: > > Please don't top-post. > > > > On Thursday, June 16, 2016 8:30:53 PM EDT Durgamahesh Manne wrote: > > > hi > > > sir > > > as per above discussion same error repeated even mentioned ip address of > > > hostname > > > > > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly > > > -allTables dbo > > > > > > > > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > > > TARGET_DB_USER=postgres > > > TARGET_DB_PASSWORD=***** > > > > > > - Just to make sure: TARGET_DB_PASSWORD is not actually set to '*****', right? - Are you sure that you need 'jdbc:' in the URL? Also, your tone and communication style are not really helping your cause. Your quoting style is chaotic and you're very adversarial. I understand you're probably under pressure to get this fixed, but yelling at the volunteers that help you here is not helping.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
****************************************
P L E A S E D O N ' T T O P P O S T
****************************************
On Thursday, June 16, 2016 9:00:48 PM EDT Durgamahesh Manne wrote:
> as per above conversation. i checked connectivity details as it is
> connected to database (even hostname i mentioned connected to database)
> psql --host 192.168.168.201 --user postgres -d raghu
> Password for user postgres:
> psql.bin (9.4.8, server 9.4.4)
> Type "help" for help.
>
> No entry for terminal type "xterm";
> using dumb terminal settings.
> raghu=#
>
> On Thu, Jun 16, 2016 at 8:51 PM, Jan de Visser <jan@de-visser.net> wrote:
> > Please don't top-post.
> >
> > On Thursday, June 16, 2016 8:30:53 PM EDT Durgamahesh Manne wrote:
> > > hi
> > > sir
> > > as per above discussion same error repeated even mentioned ip address of
> > > hostname
> > >
> > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public -schemaOnly
> > > -allTables dbo
> > >
> > >
> > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
> > > TARGET_DB_USER=postgres
> > > TARGET_DB_PASSWORD=*****
> > >
> > >
- Just to make sure: TARGET_DB_PASSWORD is not actually set to '*****', right?
- Are you sure that you need 'jdbc:' in the URL?
Also, your tone and communication style are not really helping your cause.
Your quoting style is chaotic and you're very adversarial. I understand you're
probably under pressure to get this fixed, but yelling at the volunteers that
help you here is not helping.
Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 2016-06-16 11:42 AM, Durgamahesh Manne wrote: > i got another error even i specified -targetdbtype > like > ./runMTK.sh -sourcedbtype sqlserver -targetdbtype postgresql > -targetSchema public -schemaOnly -allTables dbo > Running EnterpriseDB Migration Toolkit (Build 49.0.4) ... > Source database connectivity info... > conn =jdbc:jtds:sqlserver://fxserver.trustfort.com:49883/DataFeedHandler > <http://fxserver.trustfort.com:49883/DataFeedHandler> > user =trustfort > password=****** > Target database connectivity info... > conn =jdbc:postgresql://192.168.168.201:5432/raghu > <http://192.168.168.201:5432/raghu> > user =postgres > password=****** > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target Postgres database server... > Exception in thread "main" java.lang.NoClassDefFoundError: > org/postgresql/Driver > at > com.edb.dbhandler.postgresql.PGConnection.<init>(PGConnection.java:32) > at com.edb.common.MTKFactory.createMTKConnection(MTKFactory.java:228) > at > com.edb.MigrationToolkit.createNewTargetConnection(MigrationToolkit.java:5987) > at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3376) > at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700) > Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver > > > > > > On Thu, Jun 16, 2016 at 8:59 PM, Neil Anderson > <neil.t.anderson@gmail.com <mailto:neil.t.anderson@gmail.com>> wrote: > > On 2016-06-16 11:13 AM, Durgamahesh Manne wrote: > > yes sir > > as per above discussion..i already looked pdf postgres plus > guide you > mentioned > > as well as i already set password for postgres user associated with > postgres db > > On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com> > <mailto:maheshpostgres9@gmail.com > <mailto:maheshpostgres9@gmail.com>>> wrote: > > hi > sir > as per above discussion same error repeated even mentioned ip > address of hostname > > ./runMTK.sh -sourcedbtype sqlserver -targetSchema public > -schemaOnly > -allTables dbo > > > TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu > <http://192.168.168.201:5432/raghu> > <http://192.168.168.201:5432/raghu> > TARGET_DB_USER=postgres > TARGET_DB_PASSWORD=***** > > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" database is > invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified for the > "target" > database is invalid. > Check the connectivity credentials. > > On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston > <david.g.johnston@gmail.com > <mailto:david.g.johnston@gmail.com> > <mailto:david.g.johnston@gmail.com > <mailto:david.g.johnston@gmail.com>>> wrote: > > On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne > <maheshpostgres9@gmail.com > <mailto:maheshpostgres9@gmail.com> > <mailto:maheshpostgres9@gmail.com > <mailto:maheshpostgres9@gmail.com>>>wrote: > > > sir > > PostgreSQL always no1 in world > as per above discussion > > migration not working from sql to postgreSQL with > runmtk.sh > > > Connecting with source SQL Server database server... > Connected to Microsoft SQL Server, version '10.50.1600' > Connecting with target EnterpriseDB database server... > MTK-10045: The URL specified for the "target" > database is > invalid. > Check the connectivity credentials. > Stack Trace: > com.edb.MTKException: MTK-10045: The URL specified > for the > "target" database is invalid. > Check the connectivity credentials. > > > > same error repeated even there mentioned correct > credentials > as here i checked multiple times > > > Maybe you should try using an IP address instead of a > host name. > > David J. > > > > > > I've never used this tool so like everyone else I am guessing here > but having quickly looked at the documentation have you tried > specifying the '-targetdbtype postgres' in addition to the > '-sourcedbtype sqlserver' that you have already specified? > > Neil A > > > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org > <mailto:pgsql-general@postgresql.org>) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > That appears to be an issue finding the right Java library to connect to Postgres. The documentation here outlines where to download and install the JDBC drivers https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.13.html#
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 2016-06-16 11:42 AM, Durgamahesh Manne wrote:
> i got another error even i specified -targetdbtype
> like
> ./runMTK.sh -sourcedbtype sqlserver -targetdbtype postgresql
> -targetSchema public -schemaOnly -allTables dbo
> Running EnterpriseDB Migration Toolkit (Build 49.0.4) ...
> Source database connectivity info...
> conn =jdbc:jtds:sqlserver://fxserver.trustfort.com:49883/DataFeedHandler
> <http://fxserver.trustfort.com:49883/DataFeedHandler>
> user =trustfort
> password=******
> Target database connectivity info...
> conn =jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> user =postgres
> password=******
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target Postgres database server...
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/postgresql/Driver
> at
> com.edb.dbhandler.postgresql.PGConnection.<init>(PGConnection.java:32)
> at com.edb.common.MTKFactory.createMTKConnection(MTKFactory.java:228)
> at
> com.edb.MigrationToolkit.createNewTargetConnection(MigrationToolkit.java:5987)
> at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3376)
> at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700)
> Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
>
>
>
>
>
> On Thu, Jun 16, 2016 at 8:59 PM, Neil Anderson
> <neil.t.anderson@gmail.com <mailto:neil.t.anderson@gmail.com>> wrote:
>
> On 2016-06-16 11:13 AM, Durgamahesh Manne wrote:
>
> yes sir
>
> as per above discussion..i already looked pdf postgres plus
> guide you
> mentioned
>
> as well as i already set password for postgres user associated with
> postgres db
>
> On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne
> <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>> wrote:
>
> hi
> sir
> as per above discussion same error repeated even mentioned ip
> address of hostname
>
> ./runMTK.sh -sourcedbtype sqlserver -targetSchema public
> -schemaOnly
> -allTables dbo
>
>
> TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> <http://192.168.168.201:5432/raghu>
> TARGET_DB_USER=postgres
> TARGET_DB_PASSWORD=*****
>
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target" database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified for the
> "target"
> database is invalid.
> Check the connectivity credentials.
>
> On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston
> <david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>
> <mailto:david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>>> wrote:
>
> On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne
> <maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>>wrote:
>
>
> sir
>
> PostgreSQL always no1 in world
> as per above discussion
>
> migration not working from sql to postgreSQL with
> runmtk.sh
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target"
> database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified
> for the
> "target" database is invalid.
> Check the connectivity credentials.
>
>
>
> same error repeated even there mentioned correct
> credentials
> as here i checked multiple times
>
>
> Maybe you should try using an IP address instead of a
> host name.
>
> David J.
>
>
>
>
>
> I've never used this tool so like everyone else I am guessing here
> but having quickly looked at the documentation have you tried
> specifying the '-targetdbtype postgres' in addition to the
> '-sourcedbtype sqlserver' that you have already specified?
>
> Neil A
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org
> <mailto:pgsql-general@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
That appears to be an issue finding the right Java library to connect to
Postgres. The documentation here outlines where to download and install
the JDBC drivers
https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.13.html#
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
101 Cecil Street, #11-11 Tong Eng Building, Singapore 069 533
T: +65 6438 3504 | M: +65 8110 0350 | www.ashnik.com
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
thank you for the information related to postgres
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
thank you for the information related to postgres
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/16/2016 11:28 AM, Durgamahesh Manne wrote: > i can able to resolve the issue on migration from sql to postgres with > runmtk.sh without taking any support from edb > > even i frustated with runmtk.sh as i wanted to use postgresql life long > in my company For completeness and to help anyone else who comes across this thread when having the same problem, what did you do to get it to work? > > thank you for information > > > > > On Thu, Jun 16, 2016 at 11:43 PM, Durgamahesh Manne > <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>> wrote: > > thank you for the information related to postgres > > -- Adrian Klaver adrian.klaver@aklaver.com
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
On 06/16/2016 11:28 AM, Durgamahesh Manne wrote:i can able to resolve the issue on migration from sql to postgres with
runmtk.sh without taking any support from edb
even i frustated with runmtk.sh as i wanted to use postgresql life long
in my company
For completeness and to help anyone else who comes across this thread when having the same problem, what did you do to get it to work?
thank you for information
On Thu, Jun 16, 2016 at 11:43 PM, Durgamahesh Manne
<maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>> wrote:
thank you for the information related to postgres
--
Adrian Klaver
adrian.klaver@aklaver.com
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
Disclaimer: My company is a partner of EnterpriseDB and provides services and consultation on EnterpriseDB toolsOn Thu, 16 Jun 2016, 11:52 p.m. Neil Anderson, <neil.t.anderson@gmail.com> wrote:On 2016-06-16 11:42 AM, Durgamahesh Manne wrote:
> i got another error even i specified -targetdbtype
> like
> ./runMTK.sh -sourcedbtype sqlserver -targetdbtype postgresql
> -targetSchema public -schemaOnly -allTables dbo
> Running EnterpriseDB Migration Toolkit (Build 49.0.4) ...You have to take a pause and note that people on this list are frustrated with you for your tone and top posting. In case the complain has gone unregistered or has not made sense, please read this out https://en.m.wikipedia.org/wiki/Posting_styleMake sure you don't top post> Source database connectivity info...
> conn =jdbc:jtds:sqlserver://fxserver.trustfort.com:49883/DataFeedHandler
> <http://fxserver.trustfort.com:49883/DataFeedHandler>
> user =trustfort
> password=******
> Target database connectivity info...
> conn =jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> user =postgres
> password=******
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target Postgres database server...
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/postgresql/DriverYou need to ensure that postgreSQL jdbc jar files are placed in your class path or under $JRE_HOME/lib/extYou might have already done this for SQL Server, do the same for PostgreSQL too.> at
> com.edb.dbhandler.postgresql.PGConnection.<init>(PGConnection.java:32)
> at com.edb.common.MTKFactory.createMTKConnection(MTKFactory.java:228)
> at
> com.edb.MigrationToolkit.createNewTargetConnection(MigrationToolkit.java:5987)
> at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3376)
> at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700)
> Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
>
>
>
>
>
> On Thu, Jun 16, 2016 at 8:59 PM, Neil Anderson
> <neil.t.anderson@gmail.com <mailto:neil.t.anderson@gmail.com>> wrote:
>
> On 2016-06-16 11:13 AM, Durgamahesh Manne wrote:
>
> yes sir
>
> as per above discussion..i already looked pdf postgres plus
> guide you
> mentionedIt is best that you contact EbterpriseDB support or someone who provides services for EDB tools.>
> as well as i already set password for postgres user associated with
> postgres db
>
> On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne
> <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>> wrote:
>
> hi
> sir
> as per above discussion same error repeated even mentioned ip
> address of hostname
>
> ./runMTK.sh -sourcedbtype sqlserver -targetSchema public
> -schemaOnly
> -allTables dbo
>
>
> TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> <http://192.168.168.201:5432/raghu>
> TARGET_DB_USER=postgres
> TARGET_DB_PASSWORD=*****
>
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target" database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified for the
> "target"
> database is invalid.
> Check the connectivity credentials.
>
> On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston
> <david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>
> <mailto:david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>>> wrote:
>
> On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne
> <maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>>wrote:
>
>
> sir
>
> PostgreSQL always no1 in world
> as per above discussion
>
> migration not working from sql to postgreSQL with
> runmtk.sh
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target"
> database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified
> for the
> "target" database is invalid.
> Check the connectivity credentials.
>
>
>
> same error repeated even there mentioned correct
> credentials
> as here i checked multiple times
>
>
> Maybe you should try using an IP address instead of a
> host name.
>
> David J.
>
>
>
>
>
> I've never used this tool so like everyone else I am guessing here
> but having quickly looked at the documentation have you tried
> specifying the '-targetdbtype postgres' in addition to the
> '-sourcedbtype sqlserver' that you have already specified?
>
> Neil A
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org
> <mailto:pgsql-general@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
That appears to be an issue finding the right Java library to connect to
Postgres. The documentation here outlines where to download and install
the JDBC drivers
https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.13.html#
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general----Best RegardsSameer Kumar | DB Solution ArchitectASHNIK PTE. LTD.101 Cecil Street, #11-11 Tong Eng Building, Singapore 069 533
T: +65 6438 3504 | M: +65 8110 0350 | www.ashnik.com
Re: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
hi siras you mentioned abovemembers in pgsql mailing list were not frustrating about my tone & mail which i sent related to postgresas i believe they are always happy to serve for postgresas well as i like very much postgresOn Thu, Jun 16, 2016 at 9:33 PM, Sameer Kumar <sameer.kumar@ashnik.com> wrote:Disclaimer: My company is a partner of EnterpriseDB and provides services and consultation on EnterpriseDB toolsOn Thu, 16 Jun 2016, 11:52 p.m. Neil Anderson, <neil.t.anderson@gmail.com> wrote:On 2016-06-16 11:42 AM, Durgamahesh Manne wrote:
> i got another error even i specified -targetdbtype
> like
> ./runMTK.sh -sourcedbtype sqlserver -targetdbtype postgresql
> -targetSchema public -schemaOnly -allTables dbo
> Running EnterpriseDB Migration Toolkit (Build 49.0.4) ...You have to take a pause and note that people on this list are frustrated with you for your tone and top posting. In case the complain has gone unregistered or has not made sense, please read this out https://en.m.wikipedia.org/wiki/Posting_styleMake sure you don't top post> Source database connectivity info...
> conn =jdbc:jtds:sqlserver://fxserver.trustfort.com:49883/DataFeedHandler
> <http://fxserver.trustfort.com:49883/DataFeedHandler>
> user =trustfort
> password=******
> Target database connectivity info...
> conn =jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> user =postgres
> password=******
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target Postgres database server...
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/postgresql/DriverYou need to ensure that postgreSQL jdbc jar files are placed in your class path or under $JRE_HOME/lib/extYou might have already done this for SQL Server, do the same for PostgreSQL too.> at
> com.edb.dbhandler.postgresql.PGConnection.<init>(PGConnection.java:32)
> at com.edb.common.MTKFactory.createMTKConnection(MTKFactory.java:228)
> at
> com.edb.MigrationToolkit.createNewTargetConnection(MigrationToolkit.java:5987)
> at com.edb.MigrationToolkit.initToolkit(MigrationToolkit.java:3376)
> at com.edb.MigrationToolkit.main(MigrationToolkit.java:1700)
> Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
>
>
>
>
>
> On Thu, Jun 16, 2016 at 8:59 PM, Neil Anderson
> <neil.t.anderson@gmail.com <mailto:neil.t.anderson@gmail.com>> wrote:
>
> On 2016-06-16 11:13 AM, Durgamahesh Manne wrote:
>
> yes sir
>
> as per above discussion..i already looked pdf postgres plus
> guide you
> mentionedIt is best that you contact EbterpriseDB support or someone who provides services for EDB tools.>
> as well as i already set password for postgres user associated with
> postgres db
>
> On Thu, Jun 16, 2016 at 8:30 PM, Durgamahesh Manne
> <maheshpostgres9@gmail.com <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>> wrote:
>
> hi
> sir
> as per above discussion same error repeated even mentioned ip
> address of hostname
>
> ./runMTK.sh -sourcedbtype sqlserver -targetSchema public
> -schemaOnly
> -allTables dbo
>
>
> TARGET_DB_URL=jdbc:postgresql://192.168.168.201:5432/raghu
> <http://192.168.168.201:5432/raghu>
> <http://192.168.168.201:5432/raghu>
> TARGET_DB_USER=postgres
> TARGET_DB_PASSWORD=*****
>
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target" database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified for the
> "target"
> database is invalid.
> Check the connectivity credentials.
>
> On Thu, Jun 16, 2016 at 7:55 PM, David G. Johnston
> <david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>
> <mailto:david.g.johnston@gmail.com
> <mailto:david.g.johnston@gmail.com>>> wrote:
>
> On Thu, Jun 16, 2016 at 10:19 AM, Durgamahesh Manne
> <maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>
> <mailto:maheshpostgres9@gmail.com
> <mailto:maheshpostgres9@gmail.com>>>wrote:
>
>
> sir
>
> PostgreSQL always no1 in world
> as per above discussion
>
> migration not working from sql to postgreSQL with
> runmtk.sh
>
>
> Connecting with source SQL Server database server...
> Connected to Microsoft SQL Server, version '10.50.1600'
> Connecting with target EnterpriseDB database server...
> MTK-10045: The URL specified for the "target"
> database is
> invalid.
> Check the connectivity credentials.
> Stack Trace:
> com.edb.MTKException: MTK-10045: The URL specified
> for the
> "target" database is invalid.
> Check the connectivity credentials.
>
>
>
> same error repeated even there mentioned correct
> credentials
> as here i checked multiple times
>
>
> Maybe you should try using an IP address instead of a
> host name.
>
> David J.
>
>
>
>
>
> I've never used this tool so like everyone else I am guessing here
> but having quickly looked at the documentation have you tried
> specifying the '-targetdbtype postgres' in addition to the
> '-sourcedbtype sqlserver' that you have already specified?
>
> Neil A
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org
> <mailto:pgsql-general@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
That appears to be an issue finding the right Java library to connect to
Postgres. The documentation here outlines where to download and install
the JDBC drivers
https://www.enterprisedb.com/docs/en/9.5/migrate/Postgres_Plus_Migration_Guide.1.13.html#
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general----Best RegardsSameer Kumar | DB Solution ArchitectASHNIK PTE. LTD.101 Cecil Street, #11-11 Tong Eng Building, Singapore 069 533
T: +65 6438 3504 | M: +65 8110 0350 | www.ashnik.com