If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > JDBC + Informix and MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-03, 03:06
yzhou2001 yzhou2001 is offline
Registered User
 
Join Date: Dec 2003
Posts: 2
Red face JDBC + Informix and MySQL

Hi there,

I have two machines. One has MySQL database and the other has Informix database.

I am trying to write a java program to selected rows from Informix database tables and insert them into corresponding or equavalent MySQL database tables.

The java program could run on either MySQL machine or Informix machine.

I guess I should have JDBC drivers for both MySQL and Informix on the machine where the java program will run. Then I need to open a connection through JDBC driver to Informix database (remotely if necessary), and do selections, and open a connection to MySQL through JDBC driver again and do insertions. Is this correct?

Could anyone be kind to provide me more information about how to do it?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 12-11-03, 11:54
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: JDBC + Informix and MySQL

Quote:
Originally posted by yzhou2001
Hi there,

I have two machines. One has MySQL database and the other has Informix database.

I am trying to write a java program to selected rows from Informix database tables and insert them into corresponding or equavalent MySQL database tables.

The java program could run on either MySQL machine or Informix machine.

I guess I should have JDBC drivers for both MySQL and Informix on the machine where the java program will run. Then I need to open a connection through JDBC driver to Informix database (remotely if necessary), and do selections, and open a connection to MySQL through JDBC driver again and do insertions. Is this correct?

Could anyone be kind to provide me more information about how to do it?

Thanks in advance.
Hi there,

I can help you out for Informix

You can download latest JDBC driver from

http://www-3.ibm.com/software/data/informix/tools/jdbc/

The JDBC Programmers manual is at
http://publibfi.boulder.ibm.com/epubs/pdf/ct1utna.pdf


Regards,

Lloyd
Reply With Quote
  #3 (permalink)  
Old 12-14-03, 01:05
yzhou2001 yzhou2001 is offline
Registered User
 
Join Date: Dec 2003
Posts: 2
Thanks for your reply. I have looked at those links and they are helpful. thanks again.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On