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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to