Current time: 09-27-2024, 02:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
Mysql.sock Problem ( mysqld.sock' (2) )
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #5
RE: Mysql.sock Problem ( mysqld.sock' (2) )
mysqladmin --defaults-file=/etc/mysql/debian.cnf ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysqld.sock' exists!


ls -asl /var/run/mysql/
totale 12K
4,0K drwxr-xr-x 2 mysql root 4,0K 29 nov 16:24 .
4,0K drwxr-xr-x 14 root root 4,0K 29 nov 13:51 ..
4,0K -rw-rw---- 1 mysql mysql 6 29 nov 16:23 mysqld.pid
0 -rw-r--r-- 1 mysql mysql 0 29 nov 16:24 mysqld.sock

...

is a bug ?
s xa | grep "mysql"
15628 pts/1 Sl 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysql/mysqld.sock
15629 pts/1 S 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
15665 pts/1 R+ 0:00 grep mysql
30815 pts/1 S 0:00 /bin/sh /usr/bin/mysqld_safe
(This post was last modified: 11-30-2010 01:27 AM by theprincy.)
11-30-2010 01:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Mysql.sock Problem ( mysqld.sock' (2) ) - theprincy - 11-30-2010 01:25 AM

Forum Jump:


User(s) browsing this thread: 9 Guest(s)