Java and MySQL
843859May 24 2007 — edited May 25 2007Hi...
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