The customer requested that the mysql-5.1.32 be a gbk version
I downloaded the Binary source code from mysql.com. You don't have to compile and install it yourself. Later, we found the latin1 language ~
Search online for a long time, a useful article does not, are under freebsd how to re-install mysql-5.1.32, let him support gbk
Last resort. I searched for the mysql5.1.32 source code package and found it myself ~
Download http://dev.mysql.com/downloads/mysql/5.1.html mysql5.1.32.tar.gz from here
For how to support gbk, the default -- with-charset = gbk -- with-xcharset = all
The most important thing is that an error occurs after the installation. If an error occurs during startup, check the error.
/Usr/local/mysql5/libexec/mysqld: Table 'mysql. In in 'doesn' t exist
090224 23:30:42 [ERROR] Can't open the mysql. plugin table. Please run mysql_upgrade to create it.
090224 23:30:42 [ERROR]/usr/local/mysql5/libexec/mysqld: unknown option '-- skip-federated'
090224 23:30:42 [ERROR] Aborting
090224 23:30:42 [Note]/usr/local/mysql5/libexec/mysqld: Shutdown complete
Solution
Comment out the new version -- skip-federated in my. cnf and you do not need this parameter. If you need this engine to be added during compilation
-- With-plugins = federated: Use the federated parameter in my. cnf.