Re: Pear::DB and FreeTDS
| From: | Adam Hubscher | Date: | Fri, 17 Dec 2004 16:45:53 +0000 |
| Subject: | Re: Pear::DB and FreeTDS | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16290@lists.php.net to get a copy of this message | ||
Thank you very much.
I was typing it wrong at really early lol :S
I never thought about using the definition that was in my config file.
Thank you so much!
"Mika Tuupola" <tuupola@appelsiini.net> wrote in message
news:Pine.GSO.4.10.10412171812370.19216-100000@aurinko...
> 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/