I 've installed mysql server with brew, and i need to run manually this command each time my computer start to make it work with an application that I can't edit.
sudo mkdir -p -- /var/run/mysqld/ ; sudo ln -s /tmp/mysql.sock /var/run/mysqld/mysqld.sock
What I can do to call this automatically? I tried with Automator, but I don't want to enter my password each time, what is the right way to run this or to fix this? (may changing permissions and running this as normal user)
Mysql is running with my normal user, not root.