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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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