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

请问一下,你这个SQL文件运行出错了,mysql5.6版本的。 #1

Open
rangoPeter opened this issue Feb 25, 2019 · 3 comments

Comments

@rangoPeter
Copy link

No description provided.

@alvin0216
Copy link
Owner

不好意思,我可能安装的最新版本的 mysql 8.0.12...
那就可以试试运行里面的 sql 语句吧。实在不行,你启动 koa 时会自动创建表的
1 创建一篇文章,之后改数据库 articleId 改为 -1 ,这里是关于页面会引用到这个 Id
2 注册一个账户,之后修改 auth 为 1,只有 auth 为1 才是最高权限用户

@rangoPeter
Copy link
Author

谢谢老哥这么晚了还抽空帮我解答。

@gaoac
Copy link

gaoac commented May 4, 2019

看看你的数据库字符集是不是utf8mb4,博主使用的最新版mysql默认字符集是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

3 participants