Problems connecting to unix:///var/mysql/mysql.sock
In MAC, when using ‘localhost’ to connect the mysql. I get this error.
The solution is to modify /etc/php.ini
find the word /var/mysql/mysql.socket and modify it to /tmp/mysql.socket 🙂
In MAC, when using ‘localhost’ to connect the mysql. I get this error.
The solution is to modify /etc/php.ini
find the word /var/mysql/mysql.socket and modify it to /tmp/mysql.socket 🙂