connector-x icon indicating copy to clipboard operation
connector-x copied to clipboard

How to add 'appname' to mssql connection?

Open italanchan opened this issue 2 years ago • 1 comments

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

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

italanchan avatar Aug 26 '22 04:08 italanchan

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?

wangxiaoying avatar Sep 01 '22 18:09 wangxiaoying