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

    Nov 16, 2015 · I am trying to connect to SQL through python to run some queries on some SQL databases on Microsoft SQL server. From my research online and on this forum the most promising …

  2. python - How to connect to SQL using Pyodbc - Stack Overflow

    Aug 27, 2022 · I want to connect to a SQL server using Pyodbc, but it always display the same error. This is my code so far:

  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 …

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

    71 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 …

  5. Python pyodbc connect to Sql Server using SQL Server Authentication

    Nov 13, 2018 · Are UID and PWD credentials for a SQL Server login (SQL Server authentication) or are they for a Windows login that is different from the Windows account that is running the Python code?

  6. 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: …

  7. python - pyodbc connect to sql server with TrustServerCertificate ...

    May 28, 2024 · I'm trying to connect to a SQL server instance using python and pyodbc.

  8. Connecting to SQL Server 2012 using sqlalchemy and pyodbc

    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 …

  9. Connect to SQL Server with user credentials of another domain

    Mar 8, 2017 · How can I connect to a SQL Server database using user login/password that is in another domain? If I use my account to connect to DB, it works fine: cnxn = pyodbc.connect('DRIVER={SQL …

  10. odbc - Connect to Azure SQL in Python with MFA Active Directory ...

    Oct 17, 2019 · To connect to Azure SQL Database using MFA (which is in SSMS as "Active Directory - Universal") Microsoft recommends and currently only has a tutorial on connecting with C# using …