MySQL (1366, "Incorrect string value: '\xF0\x9F\x8E\xAC\xE5\x89...' for column 'description' at row 1")

 (1366, "Incorrect string value: '\xF0\x9F\x8E\xAC\xE5\x89...' for column 'description' at row 1")

针对MySQL的这个错误,

修改方法是  

set names utf8mb4;

SET CHARACTER SET utf8mb4;
SET character_set_connection=utf8mb4;

原文地址:https://www.cnblogs.com/xuchunlin/p/9815124.html