Error connect to local mysql server through socket, how to fix?
0
Видає помилку при створенні бази
[vishiv18@hosting]$ mysqldump -u vishiv18_db -p vishiv18_db > dumpname.sql
Enter password:
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect