Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/htdocs/clarkson_2016/tsportal/environment.php on line 10

Warning: mysql_query(): A link to the server could not be established in /var/www/htdocs/clarkson_2016/tsportal/environment.php on line 10
Cannot query the database.
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)