Using MySQL on FreeBSD 8.2. How do I find out the default server character set? Is there some command I can run or file I can check?
UPDATE
Actually I want to know how to find both the default server character set and the current server character set.
As documented under Server Character Set and Collation:
The default server character set is therefore Windows-1252, which MySQL calls
latin1, unless your copy of MySQL has been compiled with some other default.The manual goes on to say:
Therefore, to discover the server character set currently in use: