Share

Simple MS SQL Python extension module

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Simple Database Connectivity

You are viewing a single message from this topic. View all messages.

  1. 2009-07-20 05:27:10 UTC
    I don't know if I understood you correctly.

    If you're connecting to local SQL server, just use '.' instead of hostname or IP address.

    If you intend to use Windows authentication, don't use user and password arguments; instead use trusted=True, as specified in documentation.

    If it hangs, the hostname is probably not what you expect. Add some print statements before pymssql.connect to see if the values pulled up by ipconfig and others are correct.

    Regards,
    Andrzej
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.