Notice: Problem connecting to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/public-html/cpm/html/library/mysql.php on line 34

Notice: Problem selecting the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/public-html/cpm/html/library/mysql.php on line 36
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)(No Description) sql: SELECT parameter, value FROM parameters
Fatal error: Call to a member function getFullArray() on a non-object in /var/www/public-html/cpm/html/library/parameters.php on line 40