i am having an issue trying to connect to my mysql after installing it with homebrew...
im unsure what my next steps should be in order to troubleshoot/fix, i am going step by step with an online video tutorial and it doesnt offer me any advice.
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
First of all, make sure MySQL is up and running:
mysql.server start & ps axffu|grep mysql
the above should print out the pid of running mysql process.
If this did not resolve an issue, try to locate the socket:
find /usr/local/mysql -name mysql.sock find /var/mysql -name mysql.sock
and either update your configuration, or just create a symbolic link to it:
sudo ln -s FOUND_LOCATION /tmp/mysql.sock