|
No it does not, that's what I meant by "If I connect to the db directly, everything works.". At first I used the rails console and a new rails environment to connect to the db directly without the pool and I didn't see the issue, then I changed the production environment not to use jndi, but make a direct connection to the db and the app started working properly. Whoops, I missed that bit during the first reading, sorry. Can you try setting adapter to "mysql" instead and see if it helps? Yeah, that does fix the issue. For some reason in the older AR-JDBC version "jdbc" worked fine. I'll update my config. It would help if a jndi config example was part of the examples on the wiki. Thanks! |
||||||||||||||||||||||||||||||||||||||||
A data point: does the same behavior occur without a JNDI connection (e.g., put mysql credentials in database.yml)?