List:General Discussion« Previous MessageNext Message »
From:Adarsh Sharma Date:August 23 2011 8:55am
Subject:Re: mysql
View as plain text  
Follow the steps :-

1. Check mysqld is running or not

 > /etc/init.d/mysql status

2. If not > /etc/init.d/mysql start

If error occurs , check the logs & usually this error means ur server is 
not running at the moment.


Good Luck !

Claudio Nanni wrote:
> You have 2 options: use tcp/ip or find the right .sock file
>
> use this:
> mysql -uUSER -p -h127.0.0.1 -P3306
>
> or check in the my.cnf where the server creates the .sock file
> you have to use the same with the local client.
>
> Ciao Mad!
>
> Claudio
>
>
>
> 2011/8/23 Andrew Moore <eroomydna@stripped>
>
>   
>> That's too bad. How did you configure things? What trouble shooting have
>> you
>> done so far?
>> On Aug 23, 2011 9:18 AM, "madunix@stripped" <madunix@stripped> wrote:
>>     
>>> When I try to start my mysql DB I keep getting the following message:
>>> "Can't connect to local MySQL server through socket
>>> '/var/run/mysqld/mysqld.sock'"
>>>
>>> Thanks
>>>
>>> --
>>> MySQL General Mailing List
>>> For list archives: http://lists.mysql.com/mysql
>>> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
>>>
>>>       
>
>
>
>   


Thread
mysqlmadunix@gmail.com23 Aug
  • Re: mysqlAndrew Moore23 Aug
    • Re: mysqlClaudio Nanni23 Aug
      • Re: mysqlAdarsh Sharma23 Aug
        • Re: mysqlmadunix@gmail.com23 Aug
          • Re: mysqlSuresh Kuna23 Aug
            • Re: mysqlmadunix@gmail.com23 Aug