Re: PHP Verbindung zu mysql
| From: | denis mettler | Date: | Wed, 21 Mar 2001 16:57:03 +0000 |
| Subject: | Re: PHP Verbindung zu mysql | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44961@lists.php.net to get a copy of this message | ||
Hi Remco,
That's not the Problem.
But I don't have the mysql.sock in this directory.
Regards
Denis
On Wednesday 21 March 2001 16:36, you wrote:
> denis mettler <taipan@netcologne.de> writes:
> > Hi,
> >
> > Habe folgendes Problem:
>
> <snip>
>
> > Warning: Can't connect to local MySQL server through socket
> > '/var/lib/mysql/mysql.sock' (13) in /usr/local/httpd/htdocs/dbopen.php3
> > on line 5
>
> As root, do a chmod +x /var/lib/mysql/
>
> That might do the trick, as the mysql directory is not always readable
> for the 'nobody' user where your HTTPd runs under.
>
> regards,
> Remco