Skip to content
New issue

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

Unknown collation: 'utf8mb4_0900_ai_ci' #4

Closed
piaodangdang opened this issue May 12, 2020 · 5 comments
Closed

Unknown collation: 'utf8mb4_0900_ai_ci' #4

piaodangdang opened this issue May 12, 2020 · 5 comments

Comments

@piaodangdang
Copy link

初始化数据时候报这个错误,是需要使用mysql8吗 ? 目前我是用的数据库是docker mysql:5.7

@MissRabbit1993
Copy link
Collaborator

本地安装mysql版本是8.0.19,建议升级版本

@piaodangdang
Copy link
Author

哦 好的 是否把环境依赖版本在readme中说明一下?

@panjiateng
Copy link
Collaborator

好的,我们添加下

@VinceChen0301
Copy link

用utf8mb4_unicode_ci或者utf8mb4_general_ci可以吗?

@MissRabbit1993
Copy link
Collaborator

保持默认字符集utf8mb4即可,排序字符集区别不影响

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants