I'm trying to connect to microsoft SQL server 2008 my application is running on a linux server and I have the dblib pdo driver installed. I used port forwarding to connect thru port 1433. I keep getting this message:
SQLSTATE[01002] Adaptive Server connection failed (severity 9);
PHP:
$connect = new PDO('dblib:host=ipaddres:1433;dbname=namedb','username','password');