package:drupal7:7.52-2 Setting up drupal7 (7.52-2) ... dbconfig-common: writing config to /etc/dbconfig-common/drupal7.conf Creating config file /etc/dbconfig-common/drupal7.conf with new version Creating config file /etc/drupal/7/sites/default/dbconfig.php with new version ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered creating user: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) dbconfig-common: drupal7 configure: trying again (skip questions). dbconfig-common: writing config to /etc/dbconfig-common/drupal7.conf ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered creating user: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) dbconfig-common: drupal7 configure: aborted. dbconfig-common: flushing administrative password dpkg: error processing package drupal7 (--configure): subprocess installed post-installation script returned error exit status 1