您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

MySQL中文支持问题_MySQL

2024/11/27 2:49:20发布20次查看
0. 本文目的
让mysql支持中文
1. 测试环境
windows xp sp2,mysql server 5.1,mysql administrator 1.2.17
2. 操作步骤
1)修改数据库的默认字符集
(开始菜单) - mysql - mysql server 5.1 - mysql server instance config wizard:
- reconfigure instance
- detailed configuration
- developer machine
- multifunctional database
- (innodb tablespace settings - next)
- decision support(dss)/olap
- (networking options - next)
- manual selected default character set/collation(character set - gb2312)(主要是这一步,其他默认即可)
- ...
2)修改已存在的表(table)的字符集
在mysql administrator中,右击表 - edit table - table options - character set - gb2312
3)修改数据列(column)的字符集
在mysql administrator中,右击表 - edit table - columns and indices - 选中列 - column details - column charset - gb2312
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product