Update db.rb

Change adapter from mysql to mysql2