RE: [PEAR] PEAR-MSSQL

From: Date: Mon, 10 Mar 2003 16:31:05 +0000
Subject: RE: [PEAR] PEAR-MSSQL
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4134@lists.php.net to get a copy of this message
Have you verified your DSN via odbc? What is getting returned to $conn --> use var_dump($conn)? On a side note, using sybase or mssql drivers instead of odbc trippled performance on my Linux(PHP)/Win2k(MSSQL2k) setup. -David -----Original Message----- From: Lukasz Rauch [mailto:lrauch@agh.edu.pl] Sent: Monday, March 10, 2003 7:20 AM To: pear-general@lists.php.net Subject: [PEAR] PEAR-MSSQL Hi, I have a question about establishing the connection with Microsoft SQL Server using DB class from PEAR. I tried directly and through ODBC and nothing. Can anybody tell me what to do? Here is my code: [code] $conn = DB::connect("odbc://sa:admin@127.0.0.1/pubs", true); [/code] where pubs is DSN for proper database. Thanx Łukasz

« previous php.pear.general (#4134) next »