This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi, I'm having a problem using an ip address to connect to my mysql database. If i connect using localhost like below it works great, however if i use my ip address as shown below as well, it cant connect. Thanks for the help //conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/superconnect"); conn=DriverManager.getConnection("jdbc:mysql://10.161.43.72:3306/superconnect");
more or less correct, except that you may require quotes around some stuff like the password, and you may also have to grant on <database> and <database>.*