changed mysql.js to db.js