Re: TOMCAT/MYSQL/JSP

From: Kevin Robinson (k.s.robinson_at_btinternet.com)
Date: 12/18/04


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.
>
>



Relevant Pages

  • error code [-7402]; rowcast(): create_castfuncstate: arg corrupted cast list
    ... my server is IBM Informix Dynamic Server Version 9.40.UC6 ... JDBC Driver: 3.00.JC3 ... I use Rich Client Platform and connect to database server over JBoss ... create_castfuncstate: arg corrupted cast list ...
    (comp.databases.informix)
  • Re: Ambiguous column name error after installing new server
    ... post is still the blueprint for your only rational course of action. ... your database server ...
    (comp.databases.oracle.server)
  • connecting to db..
    ... echo 'Connected successfully'; ... Can't connect to MySQL server on 'localhost' ... (and don't you need a driver to connect, I use a JDBC driver to connect w/Java..) ...
    (comp.lang.php)
  • Re: connecting to db..
    ... I've been connecting successfully to db for over a year from both Tomcat & java stand-alone classes, now all of a sudden am trying to connect also from PHP and I can't connect at all.. ... I want to set up my machine so can connect to same MySQL server from Tomcat, IIS, PHP.. ... (and don't you need a driver to connect, I use a JDBC driver to connect w/Java..) ...
    (comp.lang.php)
  • MySQL breaks after upgrading (Sid)
    ... After upgrading last night, I realized that MySQL server has stop. ... uncomment line max_allowed_packet=16M on my.cf ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)