Which versions of mysql.connector.django are compatible with django-allauth? #4141
Unanswered
H4ngryH4ngryH1ppos
asked this question in
Q&A
Replies: 1 comment 3 replies
-
It is not allauth that is putting limitations on what mysql packages/versions you can use, Django is. So, the question you have is an overall Django one, for which I do not have the answer. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a website using mysql.connector.django as the DB engine to connect to a MySQL database.
I'd recently tried setting up Django-Allauth for my project, since it worked on my local dev build which has an SQLite database.
When I try to perform a python manage.py migrate, the migration fails with the following error:
One solution I'm seeing is to switch from "mysql.connector.django" to "django.db.backends.mysql", which requires installing mysqlclient with Pip, which in turn requires installing the appropriate building packages beforehand.
Unfortunately the hosting platform I'm using has no way to install packages of any sort.
For now I want to see if I can make it work with "mysql.connector.django".
I currently have "django-allauth==65.0.2" and "mysql-connector-python==8.4.0" in my list of Python packages for the website.
I'd like to know if anyone else has made "mysql-connector-python" work with "django-allauth", and how they were able to set it up.
Beta Was this translation helpful? Give feedback.
All reactions