Re: Pear::DB and FreeTDS

From: Date: Fri, 17 Dec 2004 16:15:48 +0000
Subject: Re: Pear::DB and FreeTDS
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16289@lists.php.net to get a copy of this message
On Fri, 17 Dec 2004, Adam Hubscher wrote: You have @ and : misplaced. Check the manual http://pear.php.net/manual/en/package.database.db.intro-dsn.php > mssql://user@pass:host:port/db mssql://user:pass@host:port/db > mssql://usr@pass:tcp(host:port)/db mssql://usr:pass@tcp(host:port)/db If your freetds config is properly setup you most likely wont even need the port in dsn, and just a simple: mssql://user:pas@MSSQLSERVER/db should be enough. -- Mika Tuupola http://www.appelsiini.net/~tuupola/

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