jdbc:mysql problem
Hi, anyone can tell me, how can different clients on a LAN network can connect to server database? In below simple code, "localhost:3306" is server ip or not? wat url client must be insert for connection to server database?
staticprivate String url ="jdbc:mysql://localhost:3306/BOOK";
try
{
Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection(url,"root","123456");
}

