ERROR [2] mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Fatal error in line 8 of file /var/www/vhosts/lasi-italia.com/httpdocs/backoffice/inc_mysql_lib.php, PHP 5.6.33-0+deb8u1 (Linux)
This is the debug trace
Error: "mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" (error #2). [PHP Error 2018/06/18 03:30:03]Backtrace: [PHP Error 2018/06/18 03:30:03] 0: myErrorHandler [PHP Error 2018/06/18 03:30:03] 1: mysqli_connect (line 8 in /var/www/vhosts/lasi-italia.com/httpdocs/backoffice/inc_mysql_lib.php) [PHP Error 2018/06/18 03:30:03] 2: db_connect (line 57 in /var/www/vhosts/lasi-italia.com/httpdocs/backoffice/inc_conn.php) [PHP Error 2018/06/18 03:30:03] 3: include_once (line 2 in /var/www/vhosts/lasi-italia.com/httpdocs/rewrite.php) [PHP Error 2018/06/18 03:30:03]Variables in myErrorHandler (): [PHP Error 2018/06/18 03:30:03]Client IP: 54.162.227.37
Aborting...