Mayville is a city in Traill County, North Dakota in the United States. The population was 1,953 at the 2000 census which makes Mayville the largest community in Traill County. Mayville was founded in 1881. Mayville is often grouped with the neighboring city of Portland. The two towns are sometimes given the name May-Port. Mayville State University is located in Mayville.