jacob
asked Aug 31 2019
Answer
Enter into mysql and Run the following command to fix the issue
SET GLOBAL net_write_timeout=3600;
SET GLOBAL net_read_timeout=3600;
linuxhelp
asked Aug 31 2019
Enter into mysql and Run the following command to fix the issue
SET GLOBAL net_write_timeout=3600;
SET GLOBAL net_read_timeout=3600;
Lost connection to MySQL server during query when dumping table
I am facing the following issue what is the solution to fix the issue
-- Connecting to localhost...
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
Dump started for ============whatisca_db=========================
-- Connecting to localhost...
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect