Was st Charles ever the capital of Missouri?

Yes, it was a temporary capital.