Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python django中使用MySql数据库的迁移错误_Python_Mysql_Django_Django Migrations - Fatal编程技术网

Python django中使用MySql数据库的迁移错误

Python django中使用MySql数据库的迁移错误,python,mysql,django,django-migrations,Python,Mysql,Django,Django Migrations,我已经从GitHub下载了玛雅EDMS电子文档管理系统,并使用Django服务器配置了该项目。我已经根据需求添加了所需的库。当我尝试使用Mysql服务器迁移Django时,出现了错误: django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'value' used in key specification without a key length") 当我搜索此错误时,我发现-->。但我在迁移时发生了错误 django版本-1.1

我已经从GitHub下载了玛雅EDMS电子文档管理系统,并使用Django服务器配置了该项目。我已经根据需求添加了所需的库。当我尝试使用Mysql服务器迁移Django时,出现了错误:

django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'value' used in key specification without a key length")
当我搜索此错误时,我发现-->。但我在迁移时发生了错误

django版本-1.11.5

mysql版本-5.7.20

请帮我找出问题所在。提前谢谢