Thread: Server outrages
View Single Post
Old 2020-01-11, 01:42   #545
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

236408 Posts
Default

So...after doing steps 2 and 3 and running into that previous error on step 4...I thought I would try step 5 with the following command:

root@jeepford:/etc/mysql# mysqldump -u gary -p prpnet1300 > dump1300.sql

It then made me enter my root password, which I did. It then gave the following message:

mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect

I cannot seem to get away from that message.

Note that I only tried to dump one of the servers. It would not allow me to use the -A command as specified in the instructions for #5.

Somehow we need to get it to correctly connect to the DB so that it can be dumped.

Help!

Last fiddled with by gd_barnes on 2020-01-11 at 01:43
gd_barnes is online now   Reply With Quote