I was working on my wordpress website and changed file permissions in Filezilla in order to upload a file. Shortly after that, the database seemed to have crashed.
I can no longer log into the mysql server via SSH. I get the following error when trying to restart the server:
Failed to restart mysqld.service: Unit mysqld.service not found.
I already tried the following:
sudo chmod -R 755 /var/lib/mysql
But no result.
If I try to log into phpmyadmin it give me the following error:
#2002 - No such file or directory<br />The server is not responding (or the local server's socket is not correctly configured).
I have changed the file permissions back to the original (755) but it's still not working.