[ILUG] MySQL Problems

Linux ilug linux.michael at gmail.com
Tue Apr 12 00:47:59 IST 2005


I'm not sure it is! As I'm using the same code on a windows box and it is 
connecting correctly which leads me to believe that it is some 
misconfiguration on my part in term of the mysql database. The Java is 
trying to connect to 3306 to communication with mysql. It seems to be a 
linux or more likely a "michael o'leary" related issue ;)

On Apr 11, 2005 3:06 PM, John Reilly <jr at inconspicuous.org> wrote:
> 
> On Wed, 2005-04-06 at 18:38, Linux ilug wrote:
> > Can anyone help me with this? I have a MySQL server running on port 3306
> > everytime I try to connect to the my sql database I get the following
> > returned from the java program I am running.
> >
> > java.net.BindException: Address already in use
> > SQL error--: java.sql.SQLException: Cannot connect to MySQL server on
> > localhost:3306. Is there a MySQL server running on the machine/port you
> > are trying to connect to? (java.net.ConnectException) 0 08S01
> 
> The problem is with your java code. It is trying to bind port 3306
> which is already being used by MySQL - note the BindException.
> 
> --
> John Reilly <jr at inconspicuous.org>
> 
>



More information about the ILUG mailing list