I\'m trying to connect to my MySQL DB with the Terminal on my Apple (With PHP).
Yesterday it worked fine, and now I suddenly get the error in the title.
The
Another solution is to fix the socket location in the php.ini configuration file like this:
pdo_mysql.default_socket=/tmp/mysql.sock
Of course, the symlink works too, so its a matter of preference which one you change.