Fixed MySQL references
MySQL issues