支持
mysql的字符集设置为gbk or gb2312
default-character-set= gbk
java字符串
url = "jdbc:mysql://localhost:3306/db?useUnicode=true&characterEncoding=gbk";
mysql的字符集设置为gbk or gb2312
default-character-set= gbk
java字符串
url = "jdbc:mysql://localhost:3306/db?useUnicode=true&characterEncoding=gbk";
怎么改mysql默认的字符集啊
在windows/或winnt/下,my.ini中添加default-character-set= gbk
或者使用图形控制或其他插件设置
官方的有MySQL Administrator和MySQL Control Center