changed to mysql2 adapter