PHP Access To MSSQL DB

Discussion in 'HOWTO-Related Questions' started by m61, Apr 21, 2008.

  1. m61

    m61 New Member

    ok, followed the howto guide http://howtoforge.com/php5_mssql_debian_etch_free_tds_unix_odbc
    and when i run
    Code:
    #isql -v DSN_NAME <myusername> <mypassword>
    i get:
    Code:
    [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?
     

Share This Page