Support mysql2 gem and fix remove action