默认的字符集不对,修改字符集,在C:\Program Files\MySQL\MySQL Server 5.0\my.ini
部分如下:[mysql]default-character-set=gb2312
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"#Path to the database root
datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=utf8
部分如下:[mysql]default-character-set=gb2312
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"#Path to the database root
datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=utf8
解决方案 »
- 求助仿IBM中文首页Banner图片特效
- 发布一个兼容所有浏览器自定义垂直滚动条组件(已能使用),并希望高手能帮我解决一个问题
- ExtJS Grid读取数据的问题 ,调用action
- jquery+json+struts2整合中文乱码问题
- 正则 不包含某个字符串怎么写
- 急......如何在光标闪烁位置插入html控件??
- Extjs重写Ext.Panel遇到的问题,各位老大帮忙!困惑我好长时间了,谢谢了
- fullcalendar 日历月部分的比较
- 为什么我的层放在<TD><DIV></DIV></TD>中间,我的层把TD给顶开,顶高了?谢谢
- 请问如何定义一个全局的布尔型变量?
- (急急急!!!100分)日期时间控件农历不正确
- (100分求)将浮动框固定在某个table中 变为不可变
工具里面有设置的