socket = /var/run/mysqld/mysqld.sock
root@devel:~# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . .
failed!
root@devel:~# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't
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
.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
root@devel:~# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
root@devel:~# cd /var/run/mysqld/
root@devel:/var/run/mysqld# ls
root
): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
root@devel:~# cd /var/run/mysqld/
root@devel:/var/run/mysqld# ls
root@devel:/var/run/mysqld#
Is selinux enabled? If so, check the logs for that.
--
MySQL General Mailing List
For list archives: http
hi experts
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
iam facing the above error while connecting the mysql database. i am also
checked the mysql.sock socket file is not in /tmp.
could you please help me to fix this problem. what i have to do
The socket hets created when you start the server
It might be in the mysql home dir, it might be in /var/run.
See if its declared in my.cnf
Sent via BlackBerry from T-Mobile
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
Hi
thanks for your reply.
i found the problem, the problem was due to maintenance activity IT team
rebooted the machine but they didn't start the mysql server after reboot.
i executed mysqld with root credit. i got the below output but still the
cursor not return to prompt
bash-2.03#
Make sure your mysqld is running
On Fri, Apr 4, 2008 at 3:24 AM, Joerg Bruehe [EMAIL PROTECTED] wrote:
Hi,
Vidal Garza wrote:
[[...]]
I have a cuestion, where do you find the system header files error
number (61)?
I do that brute-force:
#! /bin/sh
#
# FGIN shell
server through socket
'/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
ERRORERROR 2002 (HY000) 2002 (HY000): Can't connect to local MySQL
through socket '/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
[[...]]
That 61 is not for decorative purposes, it has a significance.
Search your system header files for the error number 61, it should be
ECONNREFUSED (Connection
Krishna Chandra Prajapati escribió:
Just try mysqladmin ping that whether mysql is working or not
Krishna
On Thu, Apr 3, 2008 at 5:45 AM, Vidal Garza [EMAIL PROTECTED] wrote:
Hi...
I need test mysql connections but i have a problem...
freebsd# uname -a
FreeBSD freebsd.aduanet.net
Hi,
Vidal Garza wrote:
[[...]]
I have a cuestion, where do you find the system header files error
number (61)?
I do that brute-force:
#! /bin/sh
#
# FGIN shell script to use fgrep on all
/usr/include/h files
#
# $1, $2, ... options and arguments given to fgrep
connect to local MySQL server through socket '/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local
:48 PM
To: John Mancuso
Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server
mysqld_safe
Starting mysqld daemon with databases from /var/lib/mysql STOPPING
server from pid file /var/run/mysqld/mysqld.pid
070619 17:40:10 mysqld ended
--- John Mancuso [EMAIL PROTECTED] wrote
.
However I could not connect to mysql again
When I start mysql I get the following error
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock'
(111)
I could not start nor stop any running mysql
I tried to reboot my system hoping that the process
c: 516-652-2475
-Original Message-
From: Ahamarshan jn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:54 AM
To: mysql@lists.mysql.com
Subject: ERROR 2002 (HY000): Can't connect to local MySQL server
Hi,
I was appending Grant previledges to some databases in mysql; either i
: Ahamarshan jn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 12:25 PM
To: John Mancuso
Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server
Hiya,
I could not find .err file anywhere.
and my mysql.sock file is showing 0 bytes in it.
- ash#
--- John Mancuso [EMAIL PROTECTED
:48 PM
To: John Mancuso
Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server
mysqld_safe
Starting mysqld daemon with databases from /var/lib/mysql STOPPING
server from pid file /var/run/mysqld/mysqld.pid
070619 17:40:10 mysqld ended
--- John Mancuso [EMAIL PROTECTED] wrote:
Hiya
in, changed root password, used test database, etc.
Now after reboot I cannot connect. I get this:
[EMAIL PROTECTED]:/usr/local/mysql/bin # ./mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Please give
# ./mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Please give options if this involves: manual server start, setting up
autostart, etc.
Thanks
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
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.
-
Do you Yahoo!?
Free Pop
21 matches
Mail list logo