
Error finding suitable mysql driver under jruby
Reported by EccentricLamb | November 20th, 2009 @ 10:58 AM
A 'No suitable driver found for jdbc:mysql:test' error occures when connecting to a mysql database using a hash under jruby.
Replacing the hash with a URL works.
Non working example: http://gist.github.com/239606
Working example: http://gist.github.com/239613
We would expect both examples to perform identically.
Comments and changes to this ticket
-
Alex Coles November 20th, 2009 @ 11:01 AM
- Assigned user set to Alex Coles
- State changed from new to accepted
-
Alex Coles November 20th, 2009 @ 11:03 AM
We've had problems before with configuration passed as hashes and we should be testing this in our spec suite (if we're actually going to support it).
-
Alex Coles November 20th, 2009 @ 11:21 AM
- Assigned user changed from Alex Coles to kristian
Passing this on to Kristian, who'll also be doing some work to ensure the Connection shared spec runs with both JDBC-style and DO-style URIs (http://wiki.github.com/datamapper/do/jruby-todo)
-
kristian November 21st, 2009 @ 02:24 PM
- State changed from accepted to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »