Insert emoji does not work with spring-boot and MariaDB

后端 未结 4 587
北恋
北恋 2021-01-19 10:40

I would like to insert emoji like

4条回答
  •  执念已碎
    2021-01-19 11:00

    When you are connecting, set the charset to utf8mb4. Please provide the connection details.

    Use utf8mb4 on the column(s) in the table. Please provide SHOW CREATE TABLE so we can verify that the column, not just the table default is utf8mb4.

提交回复
热议问题