add server charset and collate to mysql config