Error in database console

Hello,

I am using Ubuntu 10.10 with RubyMine 3.1.1. When I try to execute query, getting an error:


sql> select
 *
 from options
java.lang.RuntimeException: Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:169)
 at com.intellij.persistence.database.console.RemoteJdbcServer.main(RemoteJdbcServer.java:15)


Please help.
1 comment
Comment actions Permalink

mysql-connector-java-5.1.15-bin.jar is missing in RM 3.1.1 version. Need to copy this file from 3.1 version.

0

Please sign in to leave a comment.