Re: TOMCAT/MYSQL/JSP
From: Kevin Robinson (k.s.robinson_at_btinternet.com)
Date: 12/18/04
- Next message: xarax: "Re: sort method for a 2D object array?"
- Previous message: Chris Smith: "Re: How to change 3 to "003""
- In reply to: Ryan Stewart: "Re: TOMCAT/MYSQL/JSP"
- Next in thread: Ryan Stewart: "Re: TOMCAT/MYSQL/JSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Dec 2004 16:07:23 +0000 (UTC)
Thanks all for your help.
I upgraded my jdbc driver and everything now works fine.
Thanks again
"Ryan Stewart" <zzanNOtozz@gSPAMo.com> wrote in message
news:gMKdndNeL4T3qlncRVn-oA@texas.net...
> "Kevin Robinson" <k.s.robinson@btinternet.com> wrote in message
> news:cq0nom$2hl$1@titan.btinternet.com...
> > The error message that I obtain fron the Tomcat command window is as
> > follows:
> >
> > java.sql.SQLException: Communication failure during handshake. Is there
a
> > server running on localhost:3306?
> > at org.gjt.mm,mysql.MysqlIO.init(Unknown Source)
> > at org.gjt.mm,mysql.Connection.connectionInit(Unkown Source)
> > at org.gjt.mm,mysql.jdbc2.Connection.connectionInit(Unkown Source)
> > at org.gjt.mm,mysql.Driver.connect(Unkown Source)
> > at java,sql.DriverManager.getConnection(DriverManager.java:512)
> > at java,sql.DriverManager.getConnection(DriverManager.java:193)
> >
> > There is more stuff after this.
> > To me it looks as if it cant find the database on port 3306 but the
> > database
> > is up and running as I can acces it
> > with mysql administrator and SQLyog on prt 3306.
> >
> > The OS is XP home edition and the database server starts up
automatically.
> >
> Try restarting your MySQL server if you haven't already. Try upgrading to
> the latest driver version. Have a look at some MySQL documentation for
> version 4.1 and/or later. Looking around the net, I've seen mention of
MySQL
> changing its password storage format and something about an
> "--old-passwords" switch and OLD_PASSWORD() function.
>
>
- Next message: xarax: "Re: sort method for a 2D object array?"
- Previous message: Chris Smith: "Re: How to change 3 to "003""
- In reply to: Ryan Stewart: "Re: TOMCAT/MYSQL/JSP"
- Next in thread: Ryan Stewart: "Re: TOMCAT/MYSQL/JSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|