I had this same problem... for 4 Days!

Check the permission on the /var/lib/mysql directory.
Check the logs /var/logs/mysql.log   to make sure its not crashing or not
"connecting"
Check the permissions on the /var/run/mysql it should have rwxr-xr-x mysql
mysql  (this was my problem)

I thought I was being cool by using:  chown ./*  to change the of all the
files in my /var/www directory.
I didn't realize I had change everything in ../ which changed ownership on
everyting in the /var structure
----- Original Message -----
From: "A.T.Z." <[EMAIL PROTECTED]>
To: "Jason Steig" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 31, 2002 1:59 AM
Subject: RE: Mysql.Sock problem


> Is mysql running (ps -axu)
>
> if not:
> /path/to/safe_mysqld --user=mysql &
>
> This is explained in the docs....
>
> -----Oorspronkelijk bericht-----
> Van: Jason Steig [mailto:[EMAIL PROTECTED]]
> Verzonden: dinsdag 31 december 2002 9:08
> Aan: [EMAIL PROTECTED]
> Onderwerp: Mysql.Sock problem
>
>
>
>
> I' am relatively new to MySQL and I 'am having a problem with starting
> the ./mysql program I always get the mysql.sock error.  I know this
> mysql.sock file is used when the local machine is the mysql server.
> Likewise I can't start mysql.server or mysqld.  I' am trying to start it
> as root.  I know this is not a good practice.  The first think I have to
> do is (./mysql -u (User) password).  This is what allows me to create a
> user to run mysqld? Correct?
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>


---------------------------------------------------------------------
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

Reply via email to