Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/onclinic/data/www/onclinic.ua/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /var/www/onclinic/data/www/onclinic.ua/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connec in /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 712

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/onclinic/data/www/onclinic.ua/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /var/www/onclinic/data/www/onclinic.ua/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connec in /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 712