Fix the mysql read-only issue for some method of content controller.