db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joseagonzalezt@cantv.net" <joseagonzal...@cantv.net>
Subject java.sql.SQLException: Communication failure during handshake using Mysql
Date Tue, 25 Jan 2005 19:56:47 GMT
Hi 

I'm using MySQL Server 4.1.9 and TORQUE.  When I run maven torque:create-db
the build fails.

BUILD FAILED
File...... C:\Documents and
Settings\JOSE\.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 localhost:3306?

My  T O R Q U E  C O N F I G U R A T I O N  is:

torque.project = bookstore
torque.targetPackage = com.kazmier.om
torque.database = mysql

torque.database.createUrl = jdbc:mysql://localhost:3306/mysql
torque.database.buildUrl = jdbc:mysql://localhost:3306/bookstore
torque.database.url = jdbc:mysql://localhost:3306/bookstore
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.host = localhost
torque.database.user = root
torque.database.password = mypass

My dependency is

    <!-- ============================================================ -->
    <!-- =                                                          = -->
    <!-- = JDBC Drivers                                             = -->
    <!-- =                                                          = -->
    <!-- ============================================================ -->

      <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>3.1.6-bin</version>
      <url>http://www.mysql.org/</url>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message