Fixed MySQL Problems