I've tried to set a symlink from
/tmp/mysql.sock -> /var/run/mysqld/mysqld.sock
however whenever I try to do it using the following command:
sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
I get the following response:
ln: failed to access ‘/tmp/mysql.sock’: Permission denied
I've attempted to use chmod but same response.
I need to do this because of an issue with HHVM https://github.com/facebook/hhvm/issues/4987
(I'm running Ubuntu 14.04LTS)