View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 10:26 AM
J.O. Aho
 
Posts: n/a
Default Re: Connecting to mySQL database over the LAN

Mithil wrote:
> Hello Everyone,
>
> I am using java API's and JDBC to connect to a mySQl server which is
> present in the LAN and i use the IP address of the server to specify
> the connection URL but I always get the connection error exception
> during run time and I have installed the jconnector so i can use the
> JDBC connections to the SQL server and added it to my CLASSPATH
> environment varriable but still get the same error some one please
> help me out.


Does the remote server allow you to connect from your location?
By default when setting up users, they are only granted to connect from the
localhost.


--

//Aho
Reply With Quote