mysqldump: Got error: 2002: Can’t connect to local MySQL server through socket ”

mysqldump: Got error: 2002: Can’t connect to local MySQL server through socket ”

Code:

mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '' (111) when trying to connect
      Dumping database zdak_motali
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '' (111) when trying to connect
Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.62-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.1.62-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.1.62-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.1.62-1.glibc23.x86_64.rpm
Stopping mysqld ...
Shutting down MySQL.....                                  [  OK  ]
Updating MySQL 5.1.62 to 5.1.62
Preparing...                ########################################### [100%]
        package MySQL-shared-5.1.62-1.glibc23.x86_64 is already installed
        package MySQL-client-5.1.62-1.glibc23.x86_64 is already installed
        package MySQL-server-5.1.62-1.glibc23.x86_64 is already installed
Starting MySQL.                                            [  OK  ]
Giving mysqld a few seconds to start up...
Looking for 'mysql' as: /usr/bin/mysql
Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Running 'mysqlcheck' with connection arguments: '--socket=/var/lib/mysql/mysql.sock' '--socket='
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '' (111) when trying to connect
FATAL ERROR: Upgrade failed
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '' (111) when trying to connect
cp: `/usr/lib/libmysqlclient.so' and `/usr/lib/mysql/libmysqlclient.so' are the same file
Restarting MySQL.
Shutting down MySQL.....                                  [  OK  ]
Starting MySQL.                                            [  OK  ]
It is recommended to do "./build php n" after MySQL update.


http://www.directadmin.com/forum/sho…t=12324&page=1
http://www.directadmin.com/forum/sho…t=31795&page=1

ım used this command

Code:

./build php n


after used this command

Code:

./build mysql


ı removed /etc/my.cnf and restarted server
after ./build mysql

not fixied not working . . . I tried all methods but not fixed..

can you help me . . .

centos 5.8 8 ram amd x6 T1075 server

Comments are closed.