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 <spacem...@gmail.com> wrote:
> 2010/10/11 partha sarathy <par...@mafiree.com>:
>> 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=mdyk...@gmail.com
>
>



-- 
 - michael dykman
 - mdyk...@gmail.com

 May the Source be with you.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to