Hi
you have to see the reason in the mysql log file,
that is a file either in the datadir with .err extension or in the /var/log
directory.
tail the last 30 lines you will see the reason why it failed to start.
Claudio
2012/4/11 Prabhat Kumar
> did you check permission of file /var/run/mysqld/
did you check permission of file /var/run/mysqld/mysqld.sock
On Wed, Apr 11, 2012 at 9:48 AM, Larry Martell wrote:
> On Wed, Apr 11, 2012 at 2:51 AM, Ganesh Kumar wrote:
> > Hi Guys,
> >
> > I am using debian squeeze it's working good, I am trying to install
> > mysql-server. mysql-server instal
On Wed, Apr 11, 2012 at 2:51 AM, Ganesh Kumar wrote:
> Hi Guys,
>
> I am using debian squeeze it's working good, I am trying to install
> mysql-server. mysql-server installation successfully but didn't start
> service
> root@devel:/var/run# more /etc/mysql/my.cnf |grep socket
> # Remember to edit
Il 11/04/2012 10:51, Ganesh Kumar ha scritto:
Hi Guys,
I am using debian squeeze it's working good, I am trying to install
mysql-server. mysql-server installation successfully but didn't start
root@devel:~# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL databa
server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!
ps -ef | grep mysql
root 725 1 0 Oct29 ?
iled
error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!
ps -ef | grep mysql
root 725 1 0 Oct29 ?00:00:00 /bin/sh
/usr/bin/
It can has many reason:
1.Your Socket file doesn't exist!
2.If it does exist,Please kill your mysql & instead of
running its daemon,run its file in bg mode. (with &
sign)
--- Cecep Rosuludin <[EMAIL PROTECTED]> wrote:
> Dear AlL,
>
> my former question is "how to run mysql service".
> but now
Dear AlL,
my former question is "how to run mysql service". but now i have run mysql service
[EMAIL PROTECTED] root]# service mysql start
Starting MySQL Server [ OK ]
but i still cannot connect to mysql
[EMAIL PROTECTED] root]# mysql
ERROR 2002: Can'
On Monday 19 July 2004 12:12, charitha wrote:
> Hi, You just check the entry in your /etc/my.cnf file where your .sock
> file is configured
my.conf says for server and client configuration:
socket = /var/lib/mysql/mysql.sock
So the path is correct
> if it is not this path then change it and res
>
Sent: Monday, July 19, 2004 12:46 PM
Subject: ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
> Hello! I'm new to MySQl and I have sevral problems to get the Mysql-server
> going.
> First of all, when trying to c
Hello! I'm new to MySQl and I have sevral problems to get the Mysql-server
going.
First of all, when trying to connect (in mysqlcc) I get the following error
message:
[MySQL] ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
I am trying to connect to mysql database.
getting error "ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
"
Can not shutdown as well as restart.
Please help me
Thanks for support.
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
I use MDK 8.2 and MySQL 4.0.13
i found this error
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
Can anyone
Edwin,
Monday, October 07, 2002, 1:09:37 PM, you wrote:
>>>On Monday 07 October 2002 12:04, Edwin Raj wrote:
>>>
>>>>When I type mysql in the command prompt it is giving the error "ERROR
>>>>2002: Can't connect to local MySql server through soc
Ed Carp wrote:
>>On Monday 07 October 2002 12:04, Edwin Raj wrote:
>>
>>>When I type mysql in the command prompt it is giving the error "ERROR
>>>2002: Can't connect to local MySql server through socket
>>>'/var/lib/mysql/mysql.sock
> On Monday 07 October 2002 12:04, Edwin Raj wrote:
> > When I type mysql in the command prompt it is giving the error "ERROR
> > 2002: Can't connect to local MySql server through socket
> > '/var/lib/mysql/mysql.sock' (111)"
> > There i
On Monday 07 October 2002 12:04, Edwin Raj wrote:
> When I type mysql in the command prompt it is giving the error "ERROR
> 2002: Can't connect to local MySql server through socket
> '/var/lib/mysql/mysql.sock' (111)"
> There is no file mysql.sock at that
Hi Friends,
OS : Linux Redhat 6.2
Kernel version : 2.2.14-5.0
MySql version : 11.13 Distrib 3.23.36, for pc-linux-gnu (i686)
When I type mysql in the command prompt it is giving the error "ERROR
2002: Can't connect to local MySql server through socket
'/var/lib/mysql/mysql.soc
an't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
> why do i get an erro like
> "ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)"
>
> what could be wrong with th
why do i get an erro like
"ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)"
what could be wrong with this error
please send me the reason for it and also
how do i overcome this problem
regards
samratsam
Get Your
So sprach »Felipe Baytelman« am 2001-09-19 um 11:37:36 -0400 :
> I'm getting
>
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
Does the file actually exist? I know that you deleted it, but
Alexande
I'm getting
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
Error
Everything began when I deleted the mysql.sock
I have restarted mysqld several times, but nothing.
What should I try?
Maybe you would like to ICQ: 8188
http://www.calevans.com
-Original Message-
From: denis mettler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 10:19 AM
To: [EMAIL PROTECTED]
Subject: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
Hi,
I'm really tired of th
that you need to set the socket
option
in the PHP ini file.
denis mettler wrote:
>
> Hi,
>
> I'm really tired of this problem...
>
> Here's the error message:
>
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock&
Hi,
I'm really tired of this problem...
Here's the error message:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13) in /usr/local/httpd/htdocs/dbopen.php3 on
line 5
I have Suse 7.1
Standard installation with apache1.3.14 and php
Hi Gerald,
> In order for andreaso to open mysql.sock, he needs search permission on
> /var/lib/mysql.
> chmod 775 /var/lib/mysql
That was it! Thanks for helping me out ;-)
Cheers,
Andreas
--
andreas otto
london (uk)
-
B
andreas otto wrote:
>
> Hi,
>
> Since SuSE 7.1 I experience the following problem using MySQL:
>
> andreaso@php4win:~ > mysql -u root -p
> Enter password:
> ERROR 2002: Can't connect to local MySQL server through socket
>'/var/lib/mysql/mysql.
PROTECTED]
Subject: ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
Hi,
Since SuSE 7.1 I experience the following problem using MySQL:
andreaso@php4win:~ > mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQ
Hi,
Since SuSE 7.1 I experience the following problem using MySQL:
andreaso@php4win:~ > mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
Looks like I don't get a connection...
andreaso@
29 matches
Mail list logo