数据库乱码

两个地方需要修改 my.int 里面

1.

[mysql]

default-character-set=GBK

 

2.

# 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  这个是数据库里的设置

你可能感兴趣的:(mysql)