--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/881464cf-d4aa-4934-9915-3830ebafd4e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ahmed,
For connecting Django to MySQL, I use MySQL-python, installed
via pip as:
pip install MySQL-python
My settings file contains:
DATABASES = {
'default': {
'ENGINE' : 'django.db.backends.mysql',
'NAME' : 'name of our database',
'USER' : 'username to access the database',
'PASSWORD' : 'password to access the database',
# Required for Windows; Harmless (same as default) for Linux
'HOST' : '127.0.0.1',
# Required for Windows; Harmless (same as default) for Linux
'PORT' : '3306',
},
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
On 9/11/14 9:34 AM, Muhammad Ahmed wrote: