Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mssql): escape special characters in passwords (#10437)
## Description of changes I found the error ``` 'IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found and no default driver specified (0) (SQLDriverConnect)' ``` Because the password of mssql includes special characters like `{R;3G1/8Al2AniRye` that start with `{` or include `;`. It should be covered by `{` and `}` and replace `}` with`}}`. Reference: https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-databases https://stackoverflow.com/questions/78531086/pyodbc-connection-string-correctly-escaping-password-with-special-characters/78532507#78532507
- Loading branch information