Hi again,
Unfortunately I don't have any experience with sqlanywhere. However, I googled and came up with the following information: https://code.google.com/p/sqlany-django/wiki/GettingStarted. In your databases dict you specify 'OPTIONS': {'eng': '2638'}, I think that should be : 'OPTIONS': {'eng': 'django'}.
-- Unfortunately I don't have any experience with sqlanywhere. However, I googled and came up with the following information: https://code.google.com/p/sqlany-django/wiki/GettingStarted. In your databases dict you specify 'OPTIONS': {'eng': '2638'}, I think that should be : 'OPTIONS': {'eng': 'django'}.
If that doesn't work, I'm afraid I can't help you!
Regards,
Andréas
2014-04-14 22:51 GMT+02:00 Elio Gerson Clímaco Herrera <elioclimaco@gmail.com>:
Thanks to Vernon and Andreas, for your answers,Yes Andreas my server is running on the same computer as my django serverbut 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 likeDATABASES = {'default': {'ENGINE': 'sqlany_django','NAME': 'django','USER': 'dba','PASSWORD': 'sql','OPTIONS': {'eng': '2638'},}}So I, get the same error messageHere is complete text about this error, please help meFile "manage.py", line 10, in <module>execute_from_command_line(sys.argv)File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line399, in execute_from_command_lineutility.execute()File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line392, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242,in run_from_argvself.execute(*args, **options.__dict__)File "C:\Python27\lib\site-packages\django\core\management\base.py", line 285,in executeoutput = self.handle(*args, **options)File "C:\Python27\lib\site-packages\django\core\management\base.py", line 415,in handlereturn self.handle_noargs(**options)File "C:\Python27\lib\site-packages\django\core\management\commands\syncdb.py", line 57, in handle_noargscursor = connection.cursor()File "C:\Python27\lib\site-packages\django\db\backends\__init__.py", line 157,in cursorcursor = self.make_debug_cursor(self._cursor())File "C:\Python27\lib\site-packages\sqlany_django\base.py", line 476, in _cursorself.connection = Database.connect(**kwargs)File "C:\Python27\lib\site-packages\sqlanydb.py", line 459, in connectreturn 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 handleerroreh(self, None, errorclass, errorvalue)File "C:\Python27\lib\site-packages\sqlanydb.py", line 340, in standardErrorHandlerraise errorclass(errorvalue)sqlanydb.OperationalError: Database server not foundTo view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a209fa83-a2c8-4d42-9847-6695b5ec0295%40googlegroups.com.--
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.
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/CALXYUbms3s86CbwSvzYtAPXTnsTB4JAqCWfTDmX3oPhn2NW%2BOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment