[ 첫번째 방법 ] - 소켓 파일 경로 추가 ls -l /etc/my.cnfls -l /etc/mysql/my.cnfls -l /opt/homebrew/etc/my.cnfls -l ~/.my.cnf-> 하나씩 명령어 쳐서 파일 위치 찾기 sudo nano /opt/homebrew/etc/my.cnf -> 파일 위치 찾은 후 이렇게 명령어 친 후# Default Homebrew MySQL server config[mysqld]# Only allow connections from localhostbind-address = 127.0.0.1mysqlx-bind-address = 127.0.0.1# 소켓 파일 경로 추가socket=/tmp/mysql.sock-> 소켓 파일 경로 추가 해준 후 control+..