We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大佬,咨询一下,我的用户表中有一个存储emoji图标的Nick字段,用的utf8mb4_general_ci字符集,未存储数据时,程序启动不会报错,但存储了一条数据之后,程序启动时初始化报以下错:
ALTER TABLE xxx.UserInfo MODIFY Nick NVARCHAR(50); Incorrect string value: '\xF0\x9F\x94\xA5\xF0\x9F...' for column 'Nick' at row 2
xxx
UserInfo
Nick
这是最近升级到1.10.1后出现的,以前没有这个问题,是不是有新套路了?谢谢
The text was updated successfully, but these errors were encountered:
把表的结构改成utf8mb4_general_ci
Sorry, something went wrong.
改了照旧
1.10.1 没有这方面的功能修改
连接串字符指定utf8mb4 @cctczyg
Charset=utf8mb4;
No branches or pull requests
大佬,咨询一下,我的用户表中有一个存储emoji图标的Nick字段,用的utf8mb4_general_ci字符集,未存储数据时,程序启动不会报错,但存储了一条数据之后,程序启动时初始化报以下错:
ALTER TABLE
xxx
.UserInfo
MODIFYNick
NVARCHAR(50);Incorrect string value: '\xF0\x9F\x94\xA5\xF0\x9F...' for column 'Nick' at row 2
这是最近升级到1.10.1后出现的,以前没有这个问题,是不是有新套路了?谢谢
The text was updated successfully, but these errors were encountered: