Notice: Problem connecting to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/ventdire/public_html/library/mysql.php on line 34

Notice: Problem selecting the database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/ventdire/public_html/library/mysql.php on line 36
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)(No Description) sql: SELECT parameter, value FROM parameters
Fatal error: Call to a member function getFullArray() on a non-object in /home/ventdire/public_html/library/parameters.php on line 39