RE: [PHP] DSN for MS SQL Server Express 2005

From: Date: Sun, 24 Nov 2013 03:03:11 +0000
Subject: RE: [PHP] DSN for MS SQL Server Express 2005
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-322494@lists.php.net to get a copy of this message
Thanks, Marco. I found it: $dsn = 'odbc:Driver=SQL Server;Server= CCTPV608\SQLEXPRESS;Database=db_ibripos'; Tomas -----Mensaje original----- De: marco@behnke.biz [mailto:marco@behnke.biz] Enviado el: Sábado, 23 de Noviembre de 2013 5:36 pm Para: php-general@lists.php.net; Tomás Corrales Lemoine Asunto: Re: [PHP] 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@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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#322494) next »