Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java and MySQL

843859May 24 2007 — edited May 25 2007
Hi...

I have an application made in Java that works fine with MySQL. However, I'm using it in a local host (all things in the same machine) and I need to allow all the computers in my LAN to have access to the database.

I've already put my database in a shared folder (where all computers in my LAN can see), but I dont know what else to do. I've changed the name of the host in my source code form //localhost to "//theHostImUsing", but I cant connect to my database.

Do I need to have a service avaliable? Does my user has to be an administrator on the LAN to be able to connect in my database? Or do I need to connect with the root account of my database?

Please, some help, Im totally lost, as you can see. And I'm not a LAN admin, so Im a noob to permissions, services, and stuff like that.


thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2007
Added on May 24 2007
3 comments
113 views