i have created a database named xam.
But it still shows the same error:django.core.exceptions.ImproperlyConfigured:
settings.DATABASES is improperly configured.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
"Do we have to create a database with that name before."
Yes, you need create the database "xam" (from mysql query browser) before
running syncb.
2012/6/17 Sabbineni Navneet
> I have Mysqldb installed.
> It still shows the same error.
>
>
>
> --
> You received this message because you are subs
I have Mysqldb installed.
It still shows the same error.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@
On 06/17/2012 06:23 AM, Sabbineni Navneet wrote:
It still shows the same error .
Do we have to create a database with that name before.
How do we check if i have the python-mysqldb package .
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To p
It still shows the same error .
Do we have to create a database with that name before.
How do we check if i have the python-mysqldb package .
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googl
The problem now is the database configuration:
raise ImproperlyConfigured("
settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is
improperly configured. Please supply the ENGINE value. Check settings
documentation for more details.
DATAB
On Sat, Jun 16, 2012 at 4:58 PM, Sabbineni Navneet
wrote:
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2',
> 'mysql', 'sqlite3' or 'oracle'.
> 'NAME': 'xam', # Or path to database file if
> using sqlite3.
gt; DATABASES = {
>>> 'default': {
>>> 'ENGINE': 'django.db.backends.mysql', # Add
>>> 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
>>> 'NAME': 'xam
;sqlite3' or 'oracle'.
>> 'NAME': 'xam', # Or path to database file if
>> using sqlite3.
>> 'USER': 'root', # Not used with sqlite3.
>> 'PASSWORD
e3.
> 'PASSWORD':'', # Not used with sqlite3.
> 'HOST':'', # Set to empty string for
> localhost. Not used with sqlite3.
> 'PORT':'', # Set to e
# Not used with sqlite3.
'HOST':'', # Set to empty string for
localhost. Not used with sqlite3.
'PORT':'', # Set to empty string for default.
Not used with sqlite3.
}
}
It shows an error :no module
11 matches
Mail list logo