关于MySql5.1版中文乱码的问题
答案:3 悬赏:70 手机版
解决时间 2021-02-19 16:06
- 提问者网友:皆是孤独
- 2021-02-18 21:09
关于MySql5.1版中文乱码的问题
最佳答案
- 五星知识达人网友:患得患失的劫
- 2021-02-18 21:38
在MY.INI 文件中,还要改一个东西!
[client]
port=3306
[mysql]
default-character-set=gbk
# 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=gbk //这个地方呢???
# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
[client]
port=3306
[mysql]
default-character-set=gbk
# 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=gbk //这个地方呢???
# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
全部回答
- 1楼网友:山有枢
- 2021-02-18 22:55
1
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯