[gdal-dev] Can not connect to MSSQL database on Azure

Paul Meems bontepaarden at gmail.com
Mon Dec 28 13:05:52 PST 2015

I'm trying to connect to a MSSQL database on Azure using a SQL Server user
account but I get this from GDAL (v2): Unable to initialize connection to
the server for MSSQL:server=***;database=***;user=*** ;password=*** [SQL
Server]Login failed. The login is from an untrusted domain and cannot be
used with Windows authentication.

A co-worker looked at the code of the MSSQL driver and noticed you
are using the ODBC drivers, but are hard coding the trusted_connection
parameter to be yes.
Is this by design?
Should I file a issue report?



*Paul Meems *
Release manager, configuration manager
and forum moderator of MapWindow GIS.

Owner of MapWindow.nl - Support for
Dutch speaking users.

Download the latest MapWinGIS mapping engine.

Download the latest MapWindow 5 open source desktop application.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20151228/b71dbf49/attachment.html>

More information about the gdal-dev mailing list