You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Jon August <jo...@internection.com> on 2005/05/29 02:09:20 UTC
Communication failure during handshake
Hi,
I saw this question asked before on the list, but I didn't see a
result. I just installed mysql 4.1.12 and maven 1.0.2. I'm using
configuration files that worked on a previous installation. When I
did a maven torque:create-db, I get the following. MySQL works just
fine with "mysql" and Navicat, so I'm at a loss. Any help is
appreciated.
-Jon
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
torque:init:
torque:create-db:
[torque-data-model] Using classpath
[torque-data-model] Generating to file /Users/jon/jbproject/
RCSSecurity/target/sql/create-db.sql
[echo]
Executing the create-db.sql script ...
BUILD FAILED
File...... /Users/jon/.maven/cache/maven-torque-plugin-3.1.1/
plugin.jelly
Element... sql
Line...... 394
Column.... 44
java.sql.SQLException: Communication failure during handshake. Is
there a server running on 127.0.0.1:3306?
Total time: 8 seconds
Finished at: Sat May 28 19:46:24 EDT 2005
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Communication failure during handshake
Posted by Andras Balogh <an...@reea.net>.
Hello,
"Communication failure during handshake" can be caused also by an
incompatible (old) MySQL driver.
You should try to get a mysql driver for version 4.1. and use this and
discard the old one.
Best regards,
Andras.
Jon August wrote:
> Hi,
>
> I saw this question asked before on the list, but I didn't see a
> result. I just installed mysql 4.1.12 and maven 1.0.2. I'm using
> configuration files that worked on a previous installation. When I
> did a maven torque:create-db, I get the following. MySQL works just
> fine with "mysql" and Navicat, so I'm at a loss. Any help is
> appreciated.
>
> -Jon
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> torque:init:
>
> torque:create-db:
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file /Users/jon/jbproject/
> RCSSecurity/target/sql/create-db.sql
> [echo]
> Executing the create-db.sql script ...
>
>
> BUILD FAILED
> File...... /Users/jon/.maven/cache/maven-torque-plugin-3.1.1/
> plugin.jelly
> Element... sql
> Line...... 394
> Column.... 44
> java.sql.SQLException: Communication failure during handshake. Is
> there a server running on 127.0.0.1:3306?
> Total time: 8 seconds
> Finished at: Sat May 28 19:46:24 EDT 2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Communication failure during handshake
Posted by Piechu <pi...@wp.pl>.
Hi
I've got the same problem when I was using Scarab - and on their Mailing
List I was instructed that it's because Scarab (it's based on Torque)
doesn't cooperate with newest MySQL servers.
I would suggest You to try install MySQL 4.0.22.
Greetings
Jakub Piechnik
Jon August wrote:
> Hi,
>
> I saw this question asked before on the list, but I didn't see a
> result. I just installed mysql 4.1.12 and maven 1.0.2. I'm using
> configuration files that worked on a previous installation. When I
> did a maven torque:create-db, I get the following. MySQL works just
> fine with "mysql" and Navicat, so I'm at a loss. Any help is
> appreciated.
>
> -Jon
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> torque:init:
>
> torque:create-db:
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file /Users/jon/jbproject/
> RCSSecurity/target/sql/create-db.sql
> [echo]
> Executing the create-db.sql script ...
>
>
> BUILD FAILED
> File...... /Users/jon/.maven/cache/maven-torque-plugin-3.1.1/
> plugin.jelly
> Element... sql
> Line...... 394
> Column.... 44
> java.sql.SQLException: Communication failure during handshake. Is
> there a server running on 127.0.0.1:3306?
> Total time: 8 seconds
> Finished at: Sat May 28 19:46:24 EDT 2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
RE: Communication failure during handshake
Posted by Thomas Fischer <fi...@seitenbau.net>.
Hi,
This is no fault of Torque. The jdbc driver cannot contact your database.
Perhaps try "localhost" instead of 127.0.0.1 (Sometimes it makes a
difference).
Thomas
Jon August <jo...@internection.com> schrieb am 29.05.2005 02:09:20:
> Hi,
>
> I saw this question asked before on the list, but I didn't see a
> result. I just installed mysql 4.1.12 and maven 1.0.2. I'm using
> configuration files that worked on a previous installation. When I
> did a maven torque:create-db, I get the following. MySQL works just
> fine with "mysql" and Navicat, so I'm at a loss. Any help is
> appreciated.
>
> -Jon
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> torque:init:
>
> torque:create-db:
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file /Users/jon/jbproject/
> RCSSecurity/target/sql/create-db.sql
> [echo]
> Executing the create-db.sql script ...
>
>
> BUILD FAILED
> File...... /Users/jon/.maven/cache/maven-torque-plugin-3.1.1/
> plugin.jelly
> Element... sql
> Line...... 394
> Column.... 44
> java.sql.SQLException: Communication failure during handshake. Is
> there a server running on 127.0.0.1:3306?
> Total time: 8 seconds
> Finished at: Sat May 28 19:46:24 EDT 2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org