-
Notifications
You must be signed in to change notification settings - Fork 50
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
数据库初始化失败 #21
Comments
没注意到mysql的系统变量问题😂 |
请问下nonebot2 这个的PORT是如何配置的啊,我是根据nonebot2 和 go-cqhttp 官方,修改对应配置:
但使用时,无法连接到反向socket
|
的确是 innodb_large_prefix 参数的问题 不过我查了下文档, innodb_large_prefix 参数在 mysql 5.7 默认启用, 且为 Deprecated, 这个参数在 8.0 版本被废弃, 我感觉这个错误应该主要会出现在 5.7 之前的版本中 由于我使用 mysql 默认配置的原因之前倒是没有想到会出现这个问题, 之后会调整一下数据库表结构, 毕竟想想有的字段的确不需要那么长😂 |
确实,我的mysql 5.6 |
能提供 nb 和 gocq 完整的配置和日志吗 不过我觉得你可以先检查下 ACCESS_TOKEN 这个配置, 感觉可能两头的访问密钥没对上 |
检查确实是这个没对上,谢谢 |
数据库初始化失败, error: InternalError("(pymysql.err.InternalError) (1071, 'Specified key was too long; max key length is 767 bytes')")
The text was updated successfully, but these errors were encountered: