Hi Peter,
The dsn you gave is working for me too.
Since PhpWiki includes some PEAR code now does it mean this problem has
been fixed, or am I just lucky that the PEAR that came with my system
is new enough to avoid this socket problem?
Carsten
On Monday, October 28, 2002, at 11:42 am, Peter Holm wrote:
> Hi,
>
> in index.php I found this:
>
> // FIXME: My version Pear::DB seems to be broken enough that there
> // is no way to connect to a mysql server over a socket right now.
>
>
> Is this still an issue?
>
> You should use something like the following line to connect via
> sockets:
>
>
> 'dsn' => 'mysql://user:password@unix+localhost/phpwiki',
>
>
>
>
> Have a nice thread,
> Peter
|