changed database to mysql2
committing to apply stash
using mysql2 now for real
bug fix