Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc on line 304 Error | Drupal

Error

The website encountered an unexpected error. Please try again later.

Error message

  • Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc).
  • Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc).
  • Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc).
  • Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc:304) in drupal_send_headers() (line 1217 of /var/customers/webs/TRadsport/team-radsport.de/includes/bootstrap.inc).
  • PDOException: SQLSTATE[HY000] [2002] No such file or directory in lock_may_be_available() (line 167 of /var/customers/webs/TRadsport/team-radsport.de/includes/lock.inc).
  • Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /var/customers/webs/TRadsport/team-radsport.de/includes/database/database.inc).