Thanks, Marco. I found it: $dsn = 'odbc:Driver=SQL Server;Server= CCTPV608\SQLEXPRESS;Database=db_ibripos'; Tomas -----Mensaje original----- De: marco@xxxxxxxxxx [mailto:marco@xxxxxxxxxx] Enviado el: Sábado, 23 de Noviembre de 2013 5:36 pm Para: php-general@xxxxxxxxxxxxx; Tomás Corrales Lemoine Asunto: Re: DSN for MS SQL Server Express 2005 Have you tried this http://php.net/manual/de/ref.pdo-dblib.php#66917 > Tomás Corrales Lemoine <tomas@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php