首页 > 数据库 > MySQL > 正文

linux下如何让MYSQL 5支持GBK字符集?

2024-07-24 12:58:31
字体:
来源:转载
供稿:网友

解压MySQL5.0.22 原代码包:
cd mysql5.0.22
./configure –PRefix=/usr/local/mysql –localstatedir=/var/lib/mysql –with-charset=gbk –with-extral-charsets=all –syconfigdir=/etc –enable-thread-safe-client
然后 root权限下安装
make WITH_CHARSET=gbk WITH_XCHARSET=all install clean
make install
cp /mysql5.0.22/support-files/my-medium.cnf /etc/my.cnf
bin/mysql_install_db


http://www.086php.com/index.php/rcd-2/566


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表