免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1185 | 回复: 0

Mysql 字符集的困扰 [复制链接]

论坛徽章:
0
发表于 2006-01-19 23:33 |显示全部楼层

        新装的 MySQL 5.0 无法恢复 4.0 的数据备份,接下来还得重新编译 php ,超郁闷呐!无奈,重装MySQL 4.0 是唯一道路 !下载4.0.16 源文件...
shell> pw groupadd mysql shell> pw useradd mysql -g mysql
shell> tar zxvf mysql-4.0.16.tar.gz shell> cd mysql-4.0.16
shell> ./configure --prefix=/database/mysql --with-charset=gb2312 --with-extra-charsets=gbk,latin1,big5,cp1251
shell> make shell> make install shell> make install
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13252/showart_69200.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP