PHP ODBC sql-server - moving to another server -


on old server have configured php able connect mssql through odbc. use simple function connect database:

$connid = odbc_connect('ww', 'sa', odbc_ps); 

it works on new server doesn't connect. can suggest strange connection string 'ww' means? use sql server 2012 now, before had 2008.

error when trying connect is:

warning: odbc_connect(): sql error: [unixodbc][driver manager]data source name not found, , no default driver specified, sql state im002 in sqlconnect in(..)


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -