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=192.168.1.1 (A)
2. IP=192.168.1.11 (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


Subject
Views
Written By
Posted
Problem regarding bind-address
4631
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.