Hello Guys I want to connect two databases at the same time but it looks like the java is only picking up the second database.
One database is on my localhost and the other one is on server, I want to transfer the data from my localhost database to the database on the server. I have also tried passing the 4th argument to the mysql_connect function but I can't get it to work.
Are you needing to simply move the data from one DB to the other once? Or synchronize the data? Or during transaction processing update both databases?
you have to get data from the local database store it in the variale and then pass this value to server database connection.
hope it will help you
Thanks
Was this helpful?
Yes
No
1 person thought this was helpful
Popular Solutions for Sun Java Programming Language
I need a JAVA source code for Snakes & Ladders game the board should be the size of (10 x...
(More)
I need a JAVA source code for Snakes & Ladders game the board should be the size of (10 x 10) Can anyone help me out PLZZZ ???