No suitable driver found for jdbc:mysql

Hi,

I am a new jruby user. I am using jruby-complete-1.7.11
I have got a script which is connecting to MySQL db and fetching some
data.

While executing I am getting error “No suitable driver found for
jdbc:mysql”

Need help to solve this error.

Doesn’t look like a JRuby problem to me. My guess is that the connect
also doesn’t work from pure Java - did you try this? In this case, I
would conclude that the MySql database driver is missing.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs