utf8mb4_general_ci報錯解決方案

錯誤:mysql

Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'sql

解決:code

database格式ci

Default Character Set = utf8mb4unicode

Default Collation = utf8mb4_unicode_ciio

從新插入數據便可jdbc

相關文章
相關標籤/搜索