Mysql 插入中文错误:Incorrect string value: '...' for column 'xx' at row 1

  1. datasource url后面加上useUnicode=true&characterEncoding=utf-8
  2. alter table w default character set utf8; 
  3. alter table w change score score varchar(50) character utf8;

posted on 2017-08-16 11:11  丛林摄影狮  阅读(180)  评论(0编辑  收藏  举报

导航