执行python3 manage.py migrate数据库迁移,报不能识别数据库版本错误
Opened this issue · 2 comments
52yl commented
raise Exception('Unable to determine MySQL version from version string %r' % self.mysql_server_info)
Exception: Unable to determine MySQL version from version string '100.100.100-log'
jsp-kld commented
有类似问题,有些系统上安装包自带的MySQL跑不起来。希望官方给个自建MySQL的版本要求和步骤
zzjackaa commented
可以查看scripts/omp/omp_upgrade.py升级脚本 244行,大致就是把 features.py的放到component/env/lib/python3.8/site-packages/django/db/backends/base下。隐藏mysql版本目的是做了安全考虑。