PEP 249

ISRAEL DA-COSTA-HOMEM <[email protected]> Thu, 18 Jul 2013 01:56:42 -0300
Newsgroups gmane.comp.python.db
Message-ID <CALj1eJLf0amVsOsFBW2xb3jiEKzMUx4fnRA9p5N7_aowZaumuA@mail.gmail.com>
Good night,

I installed 2.0 pymssql this link http://www.lfd.uci.edu/ ~ Gohlke /
pythonlibs / # pymssql, but the following error occurred below. I
uninstalled and installed version pymssql 1.0.2 which worked perfectly.
What might have gone wrong?

My py is 2.7.3. If I install using pip also have the same problem.
I use Sql Server  2008 R2 and IDLE.



Traceback (most recent call last):
  File "C:\Users\Israel\Desktop\local_sql.py", line 4, in <module>
    con = pymssql.connect(host = 'localhost', user = 'sa', password = 'sa',
database = 'teste_db')
  File "pymssql.pyx", line 556, in pymssql.connect (pymssql.c:7990)
    raise OperationalError(e[0])
OperationalError: (20009, 'Net-Lib error during Unknown error')



Thanks in advance.

-- 
*Israel Homem*

_______________________________________________
DB-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/db-sig