Flarum encountered a boot error (Doctrine\DBAL\Driver\PDO\Exception)
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
thrown in D:\KHAPRE_DATA\Inetpub\prashna\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDO\Exception.php on line 18
PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
 in D:\KHAPRE_DATA\Inetpub\prashna\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:38
Stack trace:
#0 D:\KHAPRE_DATA\Inetpub\prashna\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(38): PDO->__construct()
#1 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(924): call_user_func()
#7 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(906): Illuminate\Database\Connection->getPdo()
#8 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(892): Illuminate\Database\Connection->getDoctrineConnection()
#9 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Database\Migrator.php(67): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(843): ReflectionClass->newInstanceArgs()
#12 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build()
#13 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve()
#14 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(945): Illuminate\Container\Container->make()
#15 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(873): Illuminate\Container\Container->resolveClass()
#16 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(834): Illuminate\Container\Container->resolveDependencies()
#17 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(261): Illuminate\Container\Container->build()
#18 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(799): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build()
#20 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve()
#21 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Extension\ExtensionServiceProvider.php(30): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\Application.php(322): call_user_func()
#24 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\Application.php(263): Flarum\Foundation\Application->fireAppCallbacks()
#25 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\InstalledSite.php(148): Flarum\Foundation\Application->boot()
#26 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#27 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Http\Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#28 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Http\Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#29 d:\KHAPRE_DATA\Inetpub\prashna\public\index.php(26): Flarum\Http\Server->listen()
#30 {main}

Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
 in D:\KHAPRE_DATA\Inetpub\prashna\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDO\Exception.php:18
Stack trace:
#0 D:\KHAPRE_DATA\Inetpub\prashna\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(42): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connectors\ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(924): call_user_func()
#7 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(906): Illuminate\Database\Connection->getPdo()
#8 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\database\Connection.php(892): Illuminate\Database\Connection->getDoctrineConnection()
#9 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Database\Migrator.php(67): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(843): ReflectionClass->newInstanceArgs()
#12 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build()
#13 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve()
#14 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(945): Illuminate\Container\Container->make()
#15 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(873): Illuminate\Container\Container->resolveClass()
#16 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(834): Illuminate\Container\Container->resolveDependencies()
#17 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(261): Illuminate\Container\Container->build()
#18 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(799): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build()
#20 D:\KHAPRE_DATA\Inetpub\prashna\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve()
#21 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Extension\ExtensionServiceProvider.php(30): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\Application.php(322): call_user_func()
#24 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\Application.php(263): Flarum\Foundation\Application->fireAppCallbacks()
#25 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\InstalledSite.php(148): Flarum\Foundation\Application->boot()
#26 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Foundation\InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#27 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Http\Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#28 D:\KHAPRE_DATA\Inetpub\prashna\vendor\flarum\core\src\Http\Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#29 d:\KHAPRE_DATA\Inetpub\prashna\public\index.php(26): Flarum\Http\Server->listen()
#30 {main}