the dsn is setup in /etc/odbc.ini, like this

[dsn]
Server         = [IP]
Port            = 1433
Driver          = FreeTDS
Description   = Primary GIS Server
Database     = [DB]
Trace          = Yes
User            = [user]
Password     = [password]


testing with ogrinfo that way seemed to work, giving this

INFO: Open of `ODBC:DSN=[dsn];UID=[user];PWD=[password];Database=[db]'
      using driver `ODBC' successful.

Layer name: dbo.countries
Geometry...etc


i tried changing permissions on /etc/odbc.ini but still not working in
mapserver



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/mssql-with-mapserver-on-red-hat-tp4992557p4992717.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to