2018년 9월 14일 금요일

MYSQL ERROR

 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists
 

 
 
 
 
 
 
 
solution :
 
mkdir -p /var/run/mysqld
chown mysql:mysql /var/run/mysqld
 
 
FROM 
https://stackoverflow.com/questions/42153059/mysqld-safe-directory-var-run-mysqld-for-unix-socket-file-dont-exists  

댓글 없음: