About 483,000 results
Open links in new tab
  1. Connecting to Microsoft SQL server using Python

    Nov 16, 2015 · Connecting Python Script to SQL Server. 1. connect to Wonderware Historian OLE DB using python 3 and OSX ...

  2. python - How do I connect to SQL Server via sqlalchemy using …

    sqlalchemy, a db connection module for Python, uses SQL Authentication (database-defined user accounts) by default. If you want to use your Windows (domain or local) credentials to authenticate to ...

  3. Connecting to MS SQL Server with Windows Authentication using …

    How do I connect MS SQL Server using Windows Authentication, with the pyodbc library? I can connect via MS Access and SQL Server Management Studio, but cannot get a working connection ODBC string for Python. Here's what I've tried (also without 'Trusted_Connection=yes'):

  4. Connecting Python Script to SQL Server - Stack Overflow

    Jan 11, 2019 · I want to connect my python script to SQL server: import pyodbc conn=pyodbc.connect('Driver=SQL_Server;Server=SQLEXP;user=44;DB=test) I got the following error: ('28000', '[28000] [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user. (18456) (SQLDriverConnect); and

  5. Connect to SQL Server instance using pymssql - Stack Overflow

    I'm attempting to connect to a SQL Server instance from a Windows box using pymssql (version 2.0.0b1-dev-20111019 with Python 2.7.1). I've tried the most basic approach from the console: import pym...

  6. Connecting Python to Remote SQL Server - Stack Overflow

    Mar 22, 2021 · I am trying to connect Python to our remote SQL Server but I am not getting it. Following is a code that I used. server = 'server,1433' database = 'db' username = 'username' password = 'pw' ...

  7. Error 28000: Login failed for user DOMAIN\\user with pyodbc

    Jun 8, 2016 · If you want to use "SQL Server Authentication" with a specific SQL Server login specified by UID and PWD then use Trusted_connection=no. Connecting from a non-Windows machine: If you need to connect from a non-Windows machine and the SQL Server is configured to only use "Windows authentication" then Microsoft's ODBC drivers for SQL Server will ...

  8. Python pyodbc connect to Sql Server using SQL Server …

    Nov 13, 2018 · pyodbc.InterfaceError: ('28000', "[28000] [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user 'Jack'. (18456) (SQLDriverConnect); How to connect to the database using sql server authentication ?

  9. python - Connecting to SQL Server 2012 using sqlalchemy and …

    I'm trying to connect to a SQL Server 2012 database using SQLAlchemy (with pyodbc) on Python 3.3 (Windows 7-64-bit). I am able to connect using straight pyodbc but have been unsuccessful at connec...

  10. Connecting from Python to SQL Server - Stack Overflow

    Mar 16, 2016 · Connecting from Python to SQL Server. Ask Question Asked 9 years, 1 month ago. Modified 5 years, 6 months ago.

Refresh