Table of Contents

Character Sets

Changing/Setting the Character Set

Initially, the server character set and collation depend on the options that you use when you start mysqld. You can use –character-set-server for the character set. Along with it, you can add –collation-server for the collation. If you don't specify a character set, that is the same as saying –character-set-server=latin1. If you specify only a character set (for example, latin1) but not a collation, that is the same as saying –character-set-server=latin1 –collation-server=latin1_swedish_ci because latin1_swedish_ci is the default collation for latin1.

Notes

See Also