[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Can't initialize character set xxx
error If you get an error like:
MySQL Connection Failed: Can't initialize character set xxx |
This means one of the following things:
In this case you need to recompile the client with
--with-charset=xxx
or with --with-extra-charsets=xxx
.
See section 2.3.2 Typical configure
Options.
All standard MySQL binaries are compiled with
--with-extra-character-sets=complex
which will enable support for
all multi-byte character sets. See section 5.7.1 The Character Set Used for Data and Sorting.
mysqld
and the character set definition files are not in the place
where the client expects to find them.
In this case you need to:
configure
Options.
--character-sets-dir=path-to-charset-dir
option.