Коллеги, добрый день.
Начал у меня на одном из сайте шалить MySQL, а точнее:
| Код | 
|---|
| Error! mysql_connect('-', '-', '-')
Lost connection to MySQL server at 'reading initial communication packet', system error: 111
MySQL Query Error: SEL ECT 'x' FR OM b_agent WH ERE ACTIVE = 'Y' AND NEXT_EXEC <= now() AND (DATE_CHECK IS NULL OR DATE_CHECK <= now()) LIMIT 1 []
DB query error.
Please try later. 
 | 
при этом, если идем в логи машины, видим что:
| Код | 
|---|
| 160518  2:52:19  InnoDB: Initializing buffer pool, size = 512.0M
160518  2:52:20  InnoDB: Completed initialization of buffer pool
InnoDB: Log scan progressed past the checkpoint lsn 1 2159076056
160518  2:52:20  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
160518  2:52:20  InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: File name ./mysql.sock
InnoDB: File operation call: 'stat'.
InnoDB: Error: os_file_readdir_next_file() returned -1 in
InnoDB: directory .
InnoDB: Crash recovery may have failed for some .ibd files!
InnoDB: Restoring possible half-written data pages fr om the doublewrite
InnoDB: buffer... | 
если смотрим кто использует ./mysql.sock, то видим:
| Код | 
|---|
| mysqld  19393 mysql   12u  unix 0xf5902d00      0t0 150107 /var/lib/mysqld/mysqld.sock | 
ума не приложу, что с этим всем удовольствием делать....закопался в форумах, уже пару раз из бэкапа поднимал базу....прошу помощи!