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


Post Reply 
Mysql.sock Problem ( mysqld.sock' (2) )
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Mysql.sock Problem ( mysqld.sock' (2) )
From the default /etc/init.d/mysql file (debian lenny):
Code:
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
[...]
mysqld_status () {
    ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))
[...]

Hence, if the socket path is correctly defined in /etc/mysql/debian.cnf you should not be getting this error, unless your mysqladmin is broken somehow. Hence, you should try executing:
Code:
mysqladmin --defaults-file=/etc/mysql/debian.cnf ping
Directly (as root) and see what you get in return. If its an error, then it's a bug in mysqladmin.
11-30-2010 12:50 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) ) - kilburn - 11-30-2010 12:50 AM

Forum Jump:


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