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

初始化MySQL数据库,返回“Specified key was too long错误” #623

Open
RSJWY opened this issue Sep 10, 2024 · 0 comments
Open

Comments

@RSJWY
Copy link

RSJWY commented Sep 10, 2024

环境

  • nonebot-bison 版本:0.9.3
  • nonebot 版本:2.3.3
  • 安装方式:(以下方式的一种或者其他方式)
    2. 使用 poetry/pdm 等现代包管理器安装
  • 操作系统:Windows 11 专业工作站版
  • 数据库类型版本 MySQL 8.4.2
  • (项目中 nonebot-plugin-orm和nonebot-plugin-datastore 共存)

问题

使用nb datastore upgrade升级数据库时(数据库无其他表干扰),返回“Specified key was too long错误”

日志

image

  • [√ ] 我搜索过了 issue,但是并没有发现过与我类似的问题

  • [ √] 我确认在日志中去掉了敏感信息

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

1 participant