Error in database console


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 Method)
 at java.lang.ClassLoader.loadClass(
 at sun.misc.Launcher$AppClassLoader.loadClass(
 at java.lang.ClassLoader.loadClass(
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(
 at com.intellij.persistence.database.console.RemoteJdbcServer.main(

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.


Please sign in to leave a comment.