You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac, the MySql driver can be mysql.connector.django instead of django.db.backends.mysql
The runtime error:
File "/Volumes/DATA/OmomoPro/django-datta-able-pro/env/lib/python3.11/site-packages/django/db/utils.py", line 126, in load_backend
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: 'django.db.backends.mysql.connector.django' isn't an available database backend or couldn't be imported. Check the above exception. To use one of the built-in backends, use 'django.db.backends.XXX', where XXX is one of:
'mysql', 'oracle', 'postgresql', 'sqlite3'
The fix is to set the DB_ENGINE:
mysql.connector.django OR
django.db.backends.mysql
The text was updated successfully, but these errors were encountered:
On Mac, the MySql driver can be
mysql.connector.django
instead ofdjango.db.backends.mysql
The runtime error:
The fix is to set the DB_ENGINE:
mysql.connector.django
OR
django.db.backends.mysql
The text was updated successfully, but these errors were encountered: