[DB-SIG] PEP 249

ISRAEL DA-COSTA-HOMEM israel_tecinf at ibest.com.br
Thu Jul 18 06:56:42 CEST 2013

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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20130718/0f9e2f8c/attachment.html>

More information about the DB-SIG mailing list