as Ignacio already indicated that you need to change your settings.py. If you are using the latest version of Django (it will be 1.2.x), then you will have this settings.py parameter:
DATABASES = {
'default': {
'ENGINE': '',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
}
}
Here you can determine which database you are using.
In your case, this section should look like this:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '',
'USER': 'your-mysql-username',
'PASSWORD': 'your-mysql-users-password',
'HOST': 'localhost',
'PORT': '3306',
}
}
MySQL, IP- (localhost = 127.0.0.1) (3306). MySQL . IP .
, .