Could not connect to database:
exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' in /var/www/lopsavote/index.php:218 Stack trace: #0 /var/www/lopsavote/index.php(218): PDO->__construct('mysql:dbname=lo...', 'lopsavote', 'y2D5g4IFMRR8ZV9...') #1 /var/www/lopsavote/index.php(71): get_db() #2 /var/www/lopsavote/index.php(40): check_already_voted(NULL) #3 {main}