NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
zaikidok
Joined: 13 Sep 2011 Posts: 1 Location: Manila
|
Posted: Tue Sep 13, 2011 2:00 am Post subject: MySQL Connector/J Problem when using IP ADD |
|
|
Working codes:
String url = "jdbc:mysql://localhost:3306/";
but when I replace the localhost to my ip address such as
String url = "jdbc:mysql://10.100.5.180:3306/";
cannot go on with the codes (hang)
What will I do, my objective is to share my application using one database only to 20 users with different units.
Thanks. |
|
| Back to top |
|
 |
markwade
Joined: 04 Dec 2010 Posts: 140
|
Posted: Wed Sep 14, 2011 2:06 am Post subject: MySQL Connector/J Problem when using IP ADD |
|
|
On Sep 12, 2011, at 10:00 PM, zaikidok wrote:
| Quote: | Working codes:
String url = "jdbc:mysql://localhost:3306/";
but when I replace the localhost to my ip address such as
String url = "jdbc:mysql://10.100.5.180:3306/";
cannot go on with the codes (hang)
What will I do, my objective is to share my application using one
database only to 20 users with different units.
Thanks.
|
http://dev.mysql.com/doc/refman/5.6/en/connection-access.html |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|