mysql java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x93\xEF\xBC...' for column 'intro' at row 1 ?
ren_xian 提问于:2017-11-13
0 0

mysql保存数据出错:

Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x93\xEF\xBC...' for column 'intro' at row 1
; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1366]; Incorrect string value: '\xF0\x9F\x98\x93\xEF\xBC...
  • 所有回答
silivall 回答于:2017-11-20
0 0

数据库编码格式改为:utf8mb4

我来回答    mysql java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x93\xEF\xBC...' for column 'intro' at row 1 ?