Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add 'appname' to mssql connection? #336

Closed
italanchan opened this issue Aug 26, 2022 · 1 comment
Closed

How to add 'appname' to mssql connection? #336

italanchan opened this issue Aug 26, 2022 · 1 comment

Comments

@italanchan
Copy link

For easy to track sql script from sql profiler, we use application name to check.

How to add 'appname' to mssql connection using connectionx ?

@wangxiaoying
Copy link
Contributor

Hi @italanchan , we just added the support for appname. Can you try pip install connectorx==0.3.1a5 and construct the connection string like: mssql://{user}:{password}@{host}:{port}/{db}?appname={appname} and see whether it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants