Re: Antwort: PHP and MySQL - Default Socket Setting

2001-03-01 Thread Ben Kennish
[EMAIL PROTECTED] wrote: On 01.03.2001 11:55:40 Ben Kennish wrote: "Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/index.php on line 5" Are you sure that your MySQL installation creates the

RE: Antwort: PHP and MySQL

2001-03-01 Thread Rick Emery
I hd this same problem. Ensure that /var, /var/lib, and /var/lib/mysql have permissions set to: drwxr-xr-x This cured the problem for me. rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 6:19 AM To: Ben Kennish Cc: [EMAIL

Re: Antwort: PHP and MySQL - Specifying location for mysql.sock

2001-03-01 Thread Ben Kennish
HOORAY! It's finally working. However, I'd prefer to have my mysql.sock socket file in /tmp/ Anyone know how to change the settings for MySQL (and also PHP4 and phpMyAdmin) so that it looks in /tmp/ instead? Cheers. Ben Rick Emery wrote: I hd this same problem. Ensure that /var,