• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running class from another machine (java+mysql)

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've two winXP connected in a home network.
Lets say the machine'sname where i have MySql and SDK installed is 'father'.
Now i've this piece of code (the whole class runs ok):

My Q:
Exactly what are the changes i've to perform to have this (well, another class, since i've to change it) class to run from my another machine?
From my knoleadge i'd to change this line to:

am i right?
thanks in advance
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SOLVED!
i had to grant access to mysql to my other machine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic