MySQL Forums
Forum List  »  Docs

Problem regarding bind-address
Posted by: Jay Zatakia
Date: August 04, 2010 01:23AM

I have created a java desktop application that uses MySql database.

As far as running of application is concerned in the same PC in which MySQL server is running, it is running ok.

Now I have two computers in Lan.
1. IP= (A)
2. IP= (B)

I want to install the application as well as MySQL server in computer A and use the application in computer B by creating a shortcut of application in computer A.

Now, the problem I am facing is how to provide connection string in application so that the jar file produced can run in both the PC.

Currently my connection string = (jdbc:mysql://localhost:3306/invoice","root","abc")

I would be very happy if anyone can help me out.......

Options: ReplyQuote

Written By
Problem regarding bind-address
August 04, 2010 01:23AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.