Re: DSN for MS SQL Server Express 2005
| From: | marco@behnke.biz | Date: | Sat, 23 Nov 2013 22:36:06 +0000 |
| Subject: | Re: DSN for MS SQL Server Express 2005 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322493@lists.php.net to get a copy of this message | ||
Have you tried this
http://php.net/manual/de/ref.pdo-dblib.php#66917
> Tomás Corrales Lemoine <tomas@hog.ecasa.avianet.cu> hat am 23. November 2013
> um 21:21 geschrieben:
>
>
> 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
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: marco@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz