Database: add charset query to the config.

Add the intitial charset query to the config file.