问题:
解决:
方法一:
修改后查询:
方法二:
修改my.ini文件:
[client]
default-character-set=utf8
[mysqld]
default-storage-engine=INNODB
character-set-server=utf8
collation-server=utf8_general_ci
查看MySQL字符编码:
SHOW VARIABLES LIKE'character%';
问题:
解决:
方法一:
修改后查询:
方法二:
修改my.ini文件:
[client]
default-character-set=utf8
[mysqld]
default-storage-engine=INNODB
character-set-server=utf8
collation-server=utf8_general_ci
查看MySQL字符编码:
SHOW VARIABLES LIKE'character%';