Page 1 of 1

database

Posted: Thu Dec 07, 2006 6:12 pm
by eHannes
Hi,

I'm trying to test the datebase functionality of oxygen but i keep getting the message
ERROR: "java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?"

I have a MySQL server running on localhost:3306.
I'm trying the 'out of the box' solution (the predefined, that is) from oxygen 8.0.

Anybody any idea?

Hans

Posted: Fri Dec 08, 2006 3:10 pm
by sorin_ristache
Hello,

What is the JDBC driver that you tried ? Did you try also with the current generally available (GA) release of the MySQL driver ?


Regards,
Sorin

Posted: Mon Dec 11, 2006 12:45 pm
by eHannes
Hi Sorin

I use the generic driver
url: jdbc:mysql://localhost:3306/books
driverclass: org.gjt.mm.mysql.Driver

Posted: Mon Dec 11, 2006 12:57 pm
by eHannes
i switched to MySQL 5.0.21: mysql-connector-java-3.1.12 and it is working now.
Thanks