[mapserver-users] mssql with mapserver on red hat

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Thu Aug 2 05:21:23 PDT 2012


> [unixODBC][Driver Manager]Data source name not found, and no 
> default driver specified

The ODBC driver cannot find your DSN. Have you configured it in your
user account or in the system wide /etc/odbc.ini? MapServer might be
running under a different account unable to read your odbc.ini.
  Also, before trying to use MSSQLSpatial you should first try with ODBC
and ogrinfo from the command line:
# ogrinfo -al -so
'ODBC:DSN=[dsn];UID=[user];PWD=[password];Database=[db]'


More information about the mapserver-users mailing list