SQLSTATE[HY000] [2002] Permission denied
Permalink
Hi Everyone,
I just wanted to post this solution since I could not find it here in the forums. I just moved my concrete5 sites from Ubuntu 14.04 to 16.04. Kept getting the permission denied error above.
The solution turned out to be changing the permissions on the mysql folder where mysql.sock resides. For example
sudo chmod -R 755 /var/lib/mysql/
I just wanted to post this solution since I could not find it here in the forums. I just moved my concrete5 sites from Ubuntu 14.04 to 16.04. Kept getting the permission denied error above.
The solution turned out to be changing the permissions on the mysql folder where mysql.sock resides. For example
sudo chmod -R 755 /var/lib/mysql/