You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
connection string's app attribute is application name, control by driver, how to fix. #861
When use Pyodbc, the connection string is work.
connstr = 'DRIVER={ODBC Driver 18 for SQL Server};SERVER=myserver;DATABASE=mydb;UID=myuid;PWD=mypwd;APP=MyApp;MARS_Connection=Yes;TrustServerCertificate=yes;'
But use mssql-python, raise error:
connstr = 'SERVER=myserver;DATABASE=mydb;UID=myuid;PWD=mypwd;APP=MyApp;TrustServerCertificate=yes;'
ConnectionStringParseError: Connection string parsing failed:
Reserved keyword 'app' is controlled by the driver and cannot be specified by the user
italanchan Thank you for raising this issue, currently we have application name fixed as mssql-python. We already have one Github issue open for this, we will prioritize this, #484
Activity
github-actions commentedon Oct 22, 2026
Hi italanchan, thank you for opening this issue!
Our team will review it shortly. We aim to triage all new issues within 24-48 hours and get back to you.
If you have additional information to share, please feel free to update the issue.
Thank you for your patience!
jahnvi480 commentedon Oct 22, 2026
italanchan Thank you for raising this issue, currently we have application name fixed as mssql-python. We already have one Github issue open for this, we will prioritize this, #484