Open robhubi opened 3 years ago
@robhubi Hello, is this issue still valid on recent releases?
Hi Pedro-Murteira, The current LTR version QGIS 3.22.6-Białowieża, code rev. b6f33b1a behaves a bit differently, so after "Connect" the objects of the database are listed, but always remain greyed out with type "Detecting...". After clicking on "Also list tables with no geometry" the above error occurs.
So yes, the current QGIS version shows the same issue.
Hi, We have the same issue. The only way to use a MSSQL connection in QGIS in a user-friendly way is by saving the password as plain text, which is not safe. Is there a way to provide the same functionalities (the password prompt) as the postgres connection has for the mssql connection?
We 're using qgis 3.28.12
Or is there an option to use the pasword manager in the MSSQL Connection?
Describe the bug The problem is if I don't check Save Password in the Create a New MSSQL connection dialog (what you get after hitting New or Edit in the Data Source Manager / MSSQL dialog) in QGIS when setting up a connection then QGIS loses the password as soon as the window is closed. The following connection attempts fail. If Save password is checked, everything works as expected.
How to Reproduce Prerequisites: Credentials for MSSQL Server
Actual Result Error MSSQL Provider [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [Microsoft][ODBC Driver Manager] Fehler bei SQLSetConnectAttr-Aufruf für Treiber QODBC3: Unable to connect
Expected Result A password prompt and then a list of available MSSQL Tables
QGIS and OS versions
Additional context