Forgive me, I'm a beginner to a lot of Linux things. However, tutorials online have gotten me through near everything and I had gotten LAMP up and running using this tutorial. Everything was working great - I'd even learned enough commands to successfully install a mediawiki and got right to work. Everything was beautiful.
However now the issue I am running into is with MySQL. After rebooting the PC with Mint on it, my website now throws me this error:
(Can't contact the database server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (localhost))
I navigated to /var/run/mysqld/ and it is empty. There is no 'mysqld.sock' in the folder at all. I assume this is the problem, but I have no idea how to fix it. Uninstalling and reinstalling mysql-server and -client have gotten me no results. MySQL is running, as 'sudo service mysql start' gives me 'Job is already running: mysql' - but nothing can connect to it due to (I assume) the .sock file missing.
What do I need to do to generate a .sock file, or find out where it went to? It must be or have been somewhere, as MySQL worked fine before rebooting.
I appreciate any help,
EDIT: Apologies, I am running Linux Mint 14 64 bit.