Fix issue when using mysql under seamless_database_pool

When using the seamless_database_pool it masks the use of mysql2
This change correctly identifies the translation that should be used
without depending on the hack
Merge pull request #2 from afast/fix_mysql_bug

Fix issue when using mysql under seamless_database_pool