Re: Re: DB: non-standard port in DSN causing problems
| From: | l Burnerheimerton | Date: | Thu, 13 Apr 2006 16:42:09 +0000 |
| Subject: | Re: Re: DB: non-standard port in DSN causing problems | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23643@lists.php.net to get a copy of this message | ||
Mark:
Right you are - sorry about the previous post. It was
for a different application and cause. I thought I
checked all connection strings but I left one out.
Sorry for posting twice - thanks for your help.
--- Mark Wiesemann <wiesemann@php.net> wrote:
> l Burnerheimerton wrote:
>
> > I added PHP 5 to my development machine in its own
> > directory with it's own ini. I moved PHP 4.3's
> ini
> > from WINDOWS/ to its own install directory. I
> changed
> > Apache's conf file and tested both PHP 4.3 and 5's
> > phpinfo() - both displayed their respective PHP
> info
> > properly.
> >
> > My dsn:
> > 'mysql://userid:password@localhost:3305/dbname'
>
> (1) Please ask question only once, especially when
> you already got an
> answer.
>
> (2) It looks as if the ':' after 'mysql' is missing
> here, in your first
> post this was the case.
>
> Let's see why:
>
> > string(145) "Unable to include the
> >
> DB/mysql//userid:password@localhost:3305/dbname.php´
>
> Normally, DB would include something DB/mysql.php
> here. But as the ':'
> is missing, the DBMS type can't be determined
> correctly and therefore,
> DB tries to include a file with the name shown
> above, which obviously
> must fail.
>
> HTH,
> Mark
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com