4👍
✅
Its django.db.backends.mysql
not just mysql
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'database',
'USER': 'root',
'PASSWORD': 'passwd',
'HOST': 'localhost',
'PORT': '',
}
}
👤leet
0👍
What you need to use is the backend module connection
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'yourdatabase',
'USER': 'yourusername',
'PASSWORD': 'yourpassword',
'HOST': 'localhost',
'PORT': '',
}
- [Django]-Django URL Mapping: How to remove app name from URL paths?
- [Django]-How to make django register users with emails instead of username
- [Django]-How to use dart sass in python
- [Django]-Django : Migration of polymorphic models back to a single base class
- [Django]-Any big projects using Pypy?
Source:stackexchange.com