Flarum encountered a boot error (Doctrine\DBAL\Driver\PDO\Exception)
SQLSTATE[HY000] [2002] Connection refused
thrown in /home/qa/domains/opencart.qa/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18
PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/qa/domains/opencart.qa/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38
Stack trace:
#0 /home/qa/domains/opencart.qa/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(38): PDO->__construct('mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#1 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#2 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#3 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(Doctrine\DBAL\Driver\PDO\Exception), 'mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#4 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
#5 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect(Array)
#6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#7 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(924): call_user_func(Object(Closure))
#8 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(906): Illuminate\Database\Connection->getPdo()
#9 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(892): Illuminate\Database\Connection->getDoctrineConnection()
#10 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Database/Migrator.php(67): Illuminate\Database\Connection->getDoctrineSchemaManager()
#11 [internal function]: Flarum\Database\Migrator->__construct(Object(Flarum\Database\DatabaseMigrationRepository), Object(Illuminate\Database\MySqlConnection), Object(Illuminate\Filesystem\Filesystem))
#12 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(843): ReflectionClass->newInstanceArgs(Array)
#13 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build('Flarum\\Database...')
#14 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve('Flarum\\Database...', Array)
#15 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(945): Illuminate\Container\Container->make('Flarum\\Database...')
#16 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#17 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(834): Illuminate\Container\Container->resolveDependencies(Array)
#18 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(261): Illuminate\Container\Container->build('Flarum\\Extensio...')
#19 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(799): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Container\Container), Array)
#20 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build(Object(Closure))
#21 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve('Flarum\\Extensio...', Array)
#22 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(30): Illuminate\Container\Container->make('flarum.extensio...')
#23 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#24 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/Application.php(366): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#25 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/Application.php(307): Flarum\Foundation\Application->fireAppCallbacks(Array)
#26 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/InstalledSite.php(148): Flarum\Foundation\Application->boot()
#27 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#28 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Http/Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#29 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Http/Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#30 /home/qa/domains/opencart.qa/public_html/index.php(26): Flarum\Http\Server->listen()
#31 {main}

Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused in /home/qa/domains/opencart.qa/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /home/qa/domains/opencart.qa/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(42): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#2 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#3 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(Doctrine\DBAL\Driver\PDO\Exception), 'mysql:host=loca...', 'qa_ddd', '6EbHjEb9KDJVStz...', Array)
#4 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
#5 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect(Array)
#6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#7 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(924): call_user_func(Object(Closure))
#8 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(906): Illuminate\Database\Connection->getPdo()
#9 /home/qa/domains/opencart.qa/vendor/illuminate/database/Connection.php(892): Illuminate\Database\Connection->getDoctrineConnection()
#10 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Database/Migrator.php(67): Illuminate\Database\Connection->getDoctrineSchemaManager()
#11 [internal function]: Flarum\Database\Migrator->__construct(Object(Flarum\Database\DatabaseMigrationRepository), Object(Illuminate\Database\MySqlConnection), Object(Illuminate\Filesystem\Filesystem))
#12 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(843): ReflectionClass->newInstanceArgs(Array)
#13 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build('Flarum\\Database...')
#14 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve('Flarum\\Database...', Array)
#15 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(945): Illuminate\Container\Container->make('Flarum\\Database...')
#16 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#17 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(834): Illuminate\Container\Container->resolveDependencies(Array)
#18 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(261): Illuminate\Container\Container->build('Flarum\\Extensio...')
#19 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(799): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Container\Container), Array)
#20 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build(Object(Closure))
#21 /home/qa/domains/opencart.qa/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve('Flarum\\Extensio...', Array)
#22 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(30): Illuminate\Container\Container->make('flarum.extensio...')
#23 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#24 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/Application.php(366): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#25 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/Application.php(307): Flarum\Foundation\Application->fireAppCallbacks(Array)
#26 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/InstalledSite.php(148): Flarum\Foundation\Application->boot()
#27 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Foundation/InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#28 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Http/Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#29 /home/qa/domains/opencart.qa/vendor/flarum/core/src/Http/Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#30 /home/qa/domains/opencart.qa/public_html/index.php(26): Flarum\Http\Server->listen()
#31 {main}