aspose file tools*
The moose likes Beginning Java and the fly likes running class from another machine (java+mysql) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "running class from another machine (java+mysql)" Watch "running class from another machine (java+mysql)" New topic
Author

running class from another machine (java+mysql)

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
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

Joined: Feb 08, 2004
Posts: 1281
SOLVED!
i had to grant access to mysql to my other machine
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running class from another machine (java+mysql)