NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

MySQL Connector/J Problem when using IP ADD

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
zaikidok



Joined: 13 Sep 2011
Posts: 1
Location: Manila

PostPosted: Tue Sep 13, 2011 2:00 am    Post subject: MySQL Connector/J Problem when using IP ADD Reply with 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.
Back to top
markwade



Joined: 04 Dec 2010
Posts: 140

PostPosted: Wed Sep 14, 2011 2:06 am    Post subject: MySQL Connector/J Problem when using IP ADD Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo