Menu

problem with python2.6 and pymmsql

2009-09-03
2013-04-29
  • demetrius albuquerque

    I did install of python 2.6 and freetds 0.82 in arch linux using the comand:
    #pacman -S python freetds
    After that I instaled the pymssql 1.0.2 to use in python.
    But when I did the code on python terminal I received back a error message:

    conn = pymssql.connect(host='SQL01', user='user', password='password', database='mydatabase')
    cur = conn.cursor()

    pymssql.OperationalError: DB-Lib error message 20009, severity 9:
    Unable to connect: Adaptive Server is unavailable or does not exist
    Net-Lib error during Operation now in progress Error 115 - Operation now in pro

    What can I do to solve this problem? I have to install many packages or something like that?

     
    • Damien Churchill

      Try specifying the port, I found that helped when doing this from arch.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.