MySQL driver not found [message #759911] |
Wed, 30 November 2011 14:49 |
|
Hi,
I am new to Jubula and love it! It's really great software. Until yet I just used the embedded H2 database which worked out of the box.
Now I added a MySQL database profile in the preferences menu. When I try to connect, the following messages are written in the client log.
Caused by: org.eclipse.persistence.exceptions.DatabaseException:
Internal Exception: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/Jubula
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324) ~[org.eclipse.persistence.core_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319) ~[org.eclipse.persistence.core_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138) ~[org.eclipse.persistence.core_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) ~[org.eclipse.persistence.core_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:592) ~[org.eclipse.persistence.core_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:233) ~[org.eclipse.persistence.jpa_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:394) ~[org.eclipse.persistence.jpa_2.2.0.v20110202-r8913.jar:2.2.0.v20110202-r8913]
... 9 common frames omitted
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/Jubula
at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.6.0_18]
at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.6.0_18]
How can I add the driver to the classpath? Or any other solution to this problem?
I am using Jubula (standalone) version 1.1.0
Any help is much appreciated,
Amir
|
|
|
Re: MySQL driver not found [message #759923 is a reply to message #759911] |
Wed, 30 November 2011 15:16 |
|
I am really sorry, I really searched for 1.5h now. Answer is the bug in Bugzilla with ID 342706 (I am not allowed to post a link).
The username had no permission to access the database specified, but the exception message was not really helpful. Sorry!
|
|
|
|
Re: MySQL driver not found [message #759940 is a reply to message #759924] |
Wed, 30 November 2011 15:58 |
|
OK sorry for having to post again, but now I don't believe this was the exact solution. There have to be different bugs.
Problem is: First connection to an empty database works fine (it creates tables), but when I want to create a project or even open it, then I get the error that the table "Node" doesn't exist. By the way the exception text again contains the "no suitable driver" message.
Any other ideas?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10433 seconds