PDA

View Full Version : PHP Access To MSSQL DB


m61
21st April 2008, 04:09
ok, followed the howto guide http://howtoforge.com/php5_mssql_debian_etch_free_tds_unix_odbc (http://howtoforge.com/forums/../php5_mssql_debian_etch_free_tds_unix_odbc)
and when i run#isql -v DSN_NAME <myusername> <mypassword> i get: [IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect
my tds.dsn.template file is correct [server ip, database to use, port] so i'm wondering why i can't seem to connect, anyone have any ideas?