Błąd połączenia z bazą SQL: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/usr/run/mysql/mysql' (111)

Fatal error: Call to a member function prepare() on a non-object in /functions/classes/db.class.php on line 199