I used wampServer. when I used Java to record data in MySQL today, I tried Chinese garbled characters in my. the default-character-set and character_set_server statements are added to the] client] and [mysqld] of the INI file, but the wamp cannot be started properly. please specify how to change it to the gbk character set permanently. The change is as follows: [client] port3306sockettmpmysql. sockdefault-character-setgbk... character set mysql garbled
I am using wampServer. when I use Java to record data in MySQL today, Chinese characters are garbled.
I have tried to add default-character-set and
Character_set_server statement, but the wamp cannot be started normally at last. please specify how to change it to the gbk character set permanently. The change is as follows:
[Client]
Port = 3306
Socket =/tmp/mysql. sock
Default-character-set = gbk
Character_set_server = gbk
[Mysqld]
Port = 3306
Default-character-set = gbk
Character_set_server = gbk