Is something run from cron deleting the socket?
The second error is just because your PHP script did not check for the
first error.
David Addison wrote:
> I use MySQL with PHP on a BSD server. For the last week or so I've been
> getting errors. My problem is that I'm not sure how to read the error code:
>
> ****
> Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/tmp/mysql.sock' (61) in
> /usr/home/thebookc/usr/local/etc/httpd/conf/INIFile on line 22
>
> Warning: 0 is not a MySQL link index in
> /usr/home/thebookc/usr/local/etc/httpd/conf/INIFile on line 936
> SYSTEM ERROR: Please contact database administrator.
> Error: ::
> Location: selectLgBanner
>
> ***
>
> If I use the kill command and then shutdown and restart the system comes
> back up. Then it crashes again... Can anyone tell me how to read this
> error message. What's going on? Anywhere that I can read to find out more about
>how to diagnose errors? Are there any good MySQL news groups
>
> Thanks,
> David Addison
> Transit ID, LLC.
--
Gerald L. Clark
[EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php