Seems to be up now...
Adam Allgaier wrote:
Hi, I'm trying to search the mailling list archives, which appears to throw an excpetion:
http://db.apache.org/torque/mail-lists.html
org.apache.velocity.exception.VelocityException
Thank you, Adam
Thomas Fischer wrote:
Hi,
most probably the Exception message is correct and mysql is not running on
localhost:3306 or (quite improbably) your server is configured such as not
to accept connections from localhost.
By the way, why are the urls different in your torque configuration ? Usually, they shouldn't be.
Thomas
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> schrieb am 25.01.2005
20:56:47:
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
