Thanks to Vernon and Andreas, for your answers,
-- Yes Andreas my server is running on the same computer as my django server
but I, changed my database settings like this and I, have the same error "Database server not found"
DATABASES = {
'default': {
'ENGINE': 'sqlany_django',
'NAME': 'django',
'USER': 'dba',
'PASSWORD': 'sql',
'OPTIONS': {'eng': '2638'},
'HOST': 'localhost',
'PORT': '2638',
}
}
Even I, test with different combinations of database settings like
DATABASES = {
'default': {
'ENGINE': 'sqlany_django',
'NAME': 'django',
'USER': 'dba',
'PASSWORD': 'sql',
'OPTIONS': {'eng': '2638'},
}
}
So I, get the same error message
Here is complete text about this error, please help me
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
399, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242,
in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 285,
in execute
output = self.handle(*args, **options)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 415,
in handle
return self.handle_noargs(**options)
File "C:\Python27\lib\site-packages\django\core\management\commands\syncdb.py"
, line 57, in handle_noargs
cursor = connection.cursor()
File "C:\Python27\lib\site-packages\django\db\backends\__init__.py", line 157,
in cursor
cursor = self.make_debug_cursor(self._cursor())
File "C:\Python27\lib\site-packages\sqlany_django\base.py", line 476, in _curs
or
self.connection = Database.connect(**kwargs)
File "C:\Python27\lib\site-packages\sqlanydb.py", line 459, in connect
return Connection(args, kwargs)
File "C:\Python27\lib\site-packages\sqlanydb.py", line 508, in __init__
self.handleerror(*error)
File "C:\Python27\lib\site-packages\sqlanydb.py", line 518, in handleerror
eh(self, None, errorclass, errorvalue)
File "C:\Python27\lib\site-packages\sqlanydb.py", line 340, in standardErrorHa
ndler
raise errorclass(errorvalue)
sqlanydb.OperationalError: Database server not found
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/a209fa83-a2c8-4d42-9847-6695b5ec0295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment