DSN for MS SQL Server Express 2005
| From: | Tomás Corrales Lemoine | Date: | Sat, 23 Nov 2013 20:21:54 +0000 |
| Subject: | DSN for MS SQL Server Express 2005 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322492@lists.php.net to get a copy of this message | ||
Greetings all,
Please, I'm trying to connect to a MS SQL Server Express 2005 using PDO for
ODBC, but I need the DSN string. I tried with:
$dsn = 'odbc:DRIVER={SQL
Server};HOSTNAME=CCTPV608\SQLEXPRESS;DATABASE=db_ibripos';
but it doesn't work.
Thanks!!!
Tomas