PDOException Object ( [message:protected] => SQLSTATE[HY000] [2002] Connection refused [string:Exception:private] => [code:protected] => 2002 [file:protected] => /var/www/html/.website/include/functions.php [line:protected] => 13 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/html/.website/include/functions.php [line] => 13 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=127.0.0.1;dbname=val_website [1] => root [2] => 11340val [3] => Array ( [1002] => SET NAMES 'utf8mb4' ) ) ) [1] => Array ( [file] => /var/www/html/.website/include/init.php [line] => 56 [args] => Array ( [0] => /var/www/html/.website/include/functions.php ) [function] => require_once ) [2] => Array ( [file] => /var/www/html/.website/index.php [line] => 177 [args] => Array ( [0] => /var/www/html/.website/include/init.php ) [function] => require_once ) [3] => Array ( [file] => /var/www/html/ru/index.php [line] => 25 [args] => Array ( [0] => /var/www/html/.website/index.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => HY000 [1] => 2002 [2] => Connection refused ) )