mysql 不能插入中文记录
问题:
# ERR: Incorrect string value: '\xE5\xAD\x9F\xE5\xBB\xBA...' for column 'chinese_name' at row 1 (MySQL error code: 1366, SQLState: HY000 )
解决方法:
alter table table_name convert to character set utf8;
参考:
http://www.cnblogs.com/livingintruth/p/3433259.html