hi,
when ı start mysqld service, ı get error. when ı starting mysqld /mysql.sock not directory.
how can ı resolve?
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’
hi,
when ı start mysqld service, ı get error. when ı starting mysqld /mysql.sock not directory.
how can ı resolve?
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’
Hi Gungor,
Could you check location of the socket on your installation?
find / -name mysql.sock
e.g.
Hello @parttime
Places where you can check socket file config depending on MySQL installation method,
After getting the socket file path details check if the directory exists, and if it’s, make sure it has correct ownership and file permission.
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.