[MySQL]报错:java.sql.SQLException: Incorrect string value: '\xF0\x9F\x90\xBB' for column
问题原因MySQL'sutf8onlysupportsbasicmultilingualplane,andyouneedtouseutf8mb4instead:解决方法建表的时候添加如下限制:ENGINE=InnoDBDEFAULTCHARSET=utf8mb4COLLATE=utf8mb4_bin;在my.cnf上修改如下:#Foradviceonhowtochangesettingspleas