Python Forum
Python Desktop Application that will connect o Azure SQL Database
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Desktop Application that will connect o Azure SQL Database
#3
Hey Larz so my original code works. My question is I don't really understand why we need the strings in the connection setup here unless for some reason we had planned to print this at some point in time? I did try removing them but if I do the connection doesn't work. Is the azure server needing this for the connection string?


with pyodbc.connect(
        "DRIVER=" + driver + ";SERVER=" + azureServer + ";PORT=1433;DATABASE=" + azureDB + ";UID=" + userName +
        ";PWD=" + password)
Reply


Messages In This Thread
RE: Python Desktop Application that will connect o Azure SQL Database - by thewolf - Feb-23-2021, 10:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Flask web app on Azure help dangermaus33 2 3,378 Aug-10-2021, 12:04 PM
Last Post: kashcode
  Azure Function App Configuration Settings jdb1234 1 3,042 Oct-16-2020, 10:54 AM
Last Post: ndc85430
  Can not point to Selenium Webdriver path for Python Jupyter Notebook on Azure dadadance 4 11,735 Jul-31-2019, 10:00 PM
Last Post: perfringo
  Can i use selenium to automate electron based desktop application UI dharmendraradadiya 0 3,574 Jul-22-2019, 01:20 PM
Last Post: dharmendraradadiya
  Excel Like Web Application using Python ravsha85 1 2,892 Jun-13-2019, 06:00 PM
Last Post: noisefloor
  General advice web application - flask - database - cms bashage 6 5,862 Jan-31-2018, 06:07 PM
Last Post: frostbite

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020