• Post Reply Bookmark Topic Watch Topic
  • New Topic

How would I connect mysql database in lan using jdbc?  RSS feed

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that how to connect mysql database in my computer..
But I want to access data from different computer in lan...
What are requirement for this???
Please give me solution for this..
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of connecting to localhost and the corresponding port connect to the network IP of the sql server and the corresponding port.
 
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And you also have to grant your MySQL user accounts the rights to log into the database from remote systems.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!