Fix rails dbconsole for jdbcmysql adapter

Without this patch, if you have `adapter: jdbcmysql` in `config/database.yml`, and you try to run `rails dbconsole`, you will get:

```
Unknown command-line client for foo_staging. Submit a Rails patch to add support!
```

Therefore, I am submitting a rails patch. @ggilder