Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Update #511

wants to merge 1 commit into from

2 participants


activerecord-jdbc-adapter dies on versions < 5.0

@chapmajs chapmajs Update
activerecord-jdbc-adapter dies on versions < 5.0

thanks @chapmajs ... did you consider putting this in the wiki (cause if we'll add details abotu requirements for each adapter we support into the README it might as well get bloated a bit) ? not sure where (for now there's the configuration section and notes on profiling/troubleshooting mysql) - maybe you can setup an adapter requirements page where we can list stuff for each adapter a link it from the README, thanks ...


This PR changes specifically the README for MySQL with the JDBC. It already talks about the MySQL Connector/J so I figured it was the natural place to put a note about version requirements. I can create a wiki page if that is clearer.


OK, actually that must be smt specific to AR-JDBC ... the driver seems to officially still support 4.1 ... if it's not that big of an issue we can (and should) fix it (please run the tests and/or share the trace - I do not have or plan to setup 4.1), otherwise we shall note that we dropped < 5.0 support ... I think there are some code "quirks" around ArJdbc::MySQL to run on pre 5.0 thus would be great to get back into shape as much as possible.


It's a hardcoded version test in adapter.rb for AR-JDBC. I have a pull request in for fixing the error it tries to raise, because the error it's currently using isn't present in Rails anymore.


Just realized that it may not have been entirely clear that the requirement is > 5.0 for the Connector/J driver


oh - I see, we do not need to go into that much detail in the README - feel free to note that on the wiki .
most users use the activerecord-jdbcmysql-adapter gem (where it's handled as a dependency) instead of setting up the driver on the class-path. thx!

@kares kares closed this
@chapmajs chapmajs deleted the chapmajs:patch-1 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2013
  1. @chapmajs


    chapmajs committed
    activerecord-jdbc-adapter dies on versions < 5.0
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  jdbc-mysql/
3  jdbc-mysql/
@@ -3,7 +3,8 @@
MySQL Connector/J is the official JDBC driver for MySQL.
It is a native Java driver that converts JDBC (Java Database Connectivity)
-calls into the network protocol used by the MySQL database.
+calls into the network protocol used by the MySQL database. You will need
+to have version **>= 5.0** installed.
For more information see
Something went wrong with that request. Please try again.