IT,프로그래밍/신비한 오류 사전

[Mac OS, Mysql] error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 에러

brew install mysql로 설치하고 실행을 하려하니


error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
에러가 발생했다.

이유는 mysql이 실행이 되고있지 않아서인데,

 

mysql.server start을 입력하면 간단히 실행된다