Re: PHP and MYSQL on OPENBSD
| From: | Cece) Szabolcs | Date: | Fri, 14 Nov 2003 09:13:21 +0000 |
| Subject: | Re: PHP and MYSQL on OPENBSD | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12250@lists.php.net to get a copy of this message | ||
Hi!
> Im trying to get postnuke to work on a server, it works fine cept i cant
> use chroot jail. If i do use chroot jail, i cant connect to the DB.
I think you tried to connect your server with "localhost"
as server name. It's not a good idea. If "localhost" is
the server, PHP tries to connect to mysql with mysql.sock
file instead of connecting mysql server via TCP.
Replace "localhost" with one of your server's full domain
name, and check it again :)
--
=============================================================
Heilig (Cece) Szabolcs - cece@php.net - http://www.phphost.hu
=============================================================