Re: PEAR-MSSQL

From: Date: Tue, 11 Mar 2003 08:15:06 +0000
Subject: Re: PEAR-MSSQL
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4146@lists.php.net to get a copy of this message
Thanx, it works fine, cya Lukasz ----- Original Message ----- From: "Sebastian Roebke" <php@sebastian-r.de> To: "Łukasz Rauch" <lrauch@agh.edu.pl>; <pear-general@lists.php.net> Sent: Monday, March 10, 2003 5:57 PM Subject: Re: [PEAR] PEAR-MSSQL > Hi Lukasz, > > could you try leaving the host out of the dsn? > This would be: > odbc://sa:admin@pubs > > Hope this helps, > Sebastian Röbke > > > ----- Original Message ----- > From: "Łukasz Rauch" <lrauch@agh.edu.pl> > To: <pear-general@lists.php.net> > Sent: Monday, March 10, 2003 3:20 PM > 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 (#4146) next »