您的位置:首页技术文章

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

【字号: 日期:2023-11-24 13:04:45浏览:3作者:馨心

解压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 cleanmake installcp /mysql5.0.22/support-files/my-medium.cnf /etc/my.cnfbin/mysql_install_db

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

标签: Linux系统
相关文章: