pymssql Connection to the database failed for an unknown reason

Поиск
Список
Период
Сортировка
От orgilhp
Тема pymssql Connection to the database failed for an unknown reason
Дата
Msg-id c340a047-1dcf-4833-a6f7-fa9da9a7b725@l22g2000pre.googlegroups.com
обсуждение исходный текст
Ответы Re: pymssql Connection to the database failed for an unknown reason
Re: pymssql Connection to the database failed for an unknown reason
Список pgsql-general
Hello
I am using pymssql to connect to MSSQL2008 database. But an error
occurs:
------------------------------------------------------------------
>>> import pymssql
>>> conn = pymssql.connect(host='orgilhpnb\mssql2008', user='erp', password='123', database='eoffice_clone')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/pymssql.py", line 609, in connect
    raise InterfaceError, e[0]
pymssql.InterfaceError: Connection to the database failed for an
unknown reason.
------------------------------------------------------------------

The host name, user, password and database name are all correct.
Why I get an error? Please help me!

Any suggestion would be highly appreciated!

Best regards,
Orgil

В списке pgsql-general по дате отправления:

Предыдущее
От: orgilhp
Дата:
Сообщение: pymssql: Problem with Unicode string
Следующее
От: Thom Brown
Дата:
Сообщение: Re: pymssql: Problem with Unicode string