Skip to content Skip to sidebar Skip to footer

Django Deploying On MySQL Gives #1071 Error "Specified Key Was Too Long"

I have been trying this problem for a very long time. But I just cannot seem to find the solution. I am trying to deploy my project on pythonanywhere, where I have chosen MySQL. Wh

Solution 1:

Found the answer. When you deploy your code to production. Make sure that your migration files are removed. Otherwise it might cause unexpected errors such as this one.


Post a Comment for "Django Deploying On MySQL Gives #1071 Error "Specified Key Was Too Long""