List:General Discussion« Previous MessageNext Message »
From:Michael Dykman Date:October 12 2010 2:59am
Subject:Re: MySQL sock file is missing: server doesn't start
View as plain text  
More often than not, this is a file permission issue.  Does the MySQL
user have permission to create a socket in /var/run/mysqld ?    try

ls -ld /var/run/mysqld
ls -l /var/run/mysqld

and make sure everything is owned by the MySQL user.

 - michael dykman

On Mon, Oct 11, 2010 at 2:09 PM, spacemarc <spacemarc@stripped> wrote:
> 2010/10/11 partha sarathy <partha@stripped>:
>> Hi,
>>
>> This can be useful...
>> http://mafiree.com/blg/?p=124
>
> i've checked your link but it doesn't work.
>
> mysqld server is not running and if i want to start it i obtain 2002
> error because the /var/run/mysqld/mysqld.sock file is missing.
> If i start it with "sudo mysqld_safe start" the server starts for some
> seconds, the /var/run/mysqld/ dir is created and after it stops by
> itself.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
>
>



-- 
 - michael dykman
 - mdykman@stripped

 May the Source be with you.
Thread
MySQL sock file is missing: server doesn't startspacemarc10 Oct
  • Re: MySQL sock file is missing: server doesn't startpartha sarathy11 Oct
    • Re: MySQL sock file is missing: server doesn't startspacemarc11 Oct
      • Re: MySQL sock file is missing: server doesn't startMichael Dykman12 Oct
        • Re: MySQL sock file is missing: server doesn't startspacemarc12 Oct