Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33
Stack trace:
#0 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php(33): PDO->__construct('mysql:host=loca...', 'adsbim_hrm', Object(SensitiveParameterValue), Array)
#1 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(378): Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(Object(SensitiveParameterValue))
#2 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#3 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#4 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#5 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(90): Doctrine\DBAL\Connection->getDatabasePlatform()
#6 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(130): OrangeHRM\ORM\Doctrine->__construct()
#7 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(140): OrangeHRM\ORM\Doctrine::getInstance()
#8 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(1097): OrangeHRM\ORM\Doctrine::getEntityManager()
#9 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(608): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'doctrine.entity...')
#10 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(553): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('doctrine.entity...', 1)
#11 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerTrait.php(33): Symfony\Component\DependencyInjection\ContainerBuilder->get('doctrine.entity...')
#12 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerHelperTrait.php(41): OrangeHRM\Core\Dao\BaseDao->getEntityManager()
#13 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Dao/ConfigDao.php(53): OrangeHRM\Core\Dao\BaseDao->getRepository('OrangeHRM\\Entit...')
#14 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(152): OrangeHRM\Core\Dao\ConfigDao->getValue('instance.identi...')
#15 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(430): OrangeHRM\Core\Service\ConfigService->_getConfigValue('instance.identi...')
#16 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(109): OrangeHRM\Core\Service\ConfigService->getInstanceIdentifier()
#17 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(91): CorePluginConfiguration->registerCoreSubscribers()
#18 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(137): CorePluginConfiguration->initialize(Object(OrangeHRM\Framework\Http\Request))
#19 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(154): OrangeHRM\Framework\Framework->configurePlugins(Object(OrangeHRM\Framework\Http\Request))
#20 /home/adsbim/public_html/hrm/web/index.php(41): OrangeHRM\Framework\Framework->handleRequest(Object(OrangeHRM\Framework\Http\Request))
#21 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused in /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
Stack trace:
#0 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php(40): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(378): Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(Object(SensitiveParameterValue))
#2 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#3 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#4 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#5 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(90): Doctrine\DBAL\Connection->getDatabasePlatform()
#6 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(130): OrangeHRM\ORM\Doctrine->__construct()
#7 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(140): OrangeHRM\ORM\Doctrine::getInstance()
#8 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(1097): OrangeHRM\ORM\Doctrine::getEntityManager()
#9 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(608): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'doctrine.entity...')
#10 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(553): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('doctrine.entity...', 1)
#11 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerTrait.php(33): Symfony\Component\DependencyInjection\ContainerBuilder->get('doctrine.entity...')
#12 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerHelperTrait.php(41): OrangeHRM\Core\Dao\BaseDao->getEntityManager()
#13 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Dao/ConfigDao.php(53): OrangeHRM\Core\Dao\BaseDao->getRepository('OrangeHRM\\Entit...')
#14 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(152): OrangeHRM\Core\Dao\ConfigDao->getValue('instance.identi...')
#15 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(430): OrangeHRM\Core\Service\ConfigService->_getConfigValue('instance.identi...')
#16 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(109): OrangeHRM\Core\Service\ConfigService->getInstanceIdentifier()
#17 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(91): CorePluginConfiguration->registerCoreSubscribers()
#18 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(137): CorePluginConfiguration->initialize(Object(OrangeHRM\Framework\Http\Request))
#19 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(154): OrangeHRM\Framework\Framework->configurePlugins(Object(OrangeHRM\Framework\Http\Request))
#20 /home/adsbim/public_html/hrm/web/index.php(41): OrangeHRM\Framework\Framework->handleRequest(Object(OrangeHRM\Framework\Http\Request))
#21 {main}
Next Doctrine\DBAL\Exception\ConnectionException: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused in /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101
Stack trace:
#0 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(1943): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#1 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(1891): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#2 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(380): Doctrine\DBAL\Connection->convertException(Object(Doctrine\DBAL\Driver\PDO\Exception))
#3 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#4 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(90): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(130): OrangeHRM\ORM\Doctrine->__construct()
#8 /home/adsbim/public_html/hrm/src/lib/orm/Doctrine.php(140): OrangeHRM\ORM\Doctrine::getInstance()
#9 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(1097): OrangeHRM\ORM\Doctrine::getEntityManager()
#10 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(608): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'doctrine.entity...')
#11 /home/adsbim/public_html/hrm/src/vendor/symfony/dependency-injection/ContainerBuilder.php(553): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('doctrine.entity...', 1)
#12 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerTrait.php(33): Symfony\Component\DependencyInjection\ContainerBuilder->get('doctrine.entity...')
#13 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Traits/ORM/EntityManagerHelperTrait.php(41): OrangeHRM\Core\Dao\BaseDao->getEntityManager()
#14 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Dao/ConfigDao.php(53): OrangeHRM\Core\Dao\BaseDao->getRepository('OrangeHRM\\Entit...')
#15 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(152): OrangeHRM\Core\Dao\ConfigDao->getValue('instance.identi...')
#16 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/Service/ConfigService.php(430): OrangeHRM\Core\Service\ConfigService->_getConfigValue('instance.identi...')
#17 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(109): OrangeHRM\Core\Service\ConfigService->getInstanceIdentifier()
#18 /home/adsbim/public_html/hrm/src/plugins/orangehrmCorePlugin/config/CorePluginConfiguration.php(91): CorePluginConfiguration->registerCoreSubscribers()
#19 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(137): CorePluginConfiguration->initialize(Object(OrangeHRM\Framework\Http\Request))
#20 /home/adsbim/public_html/hrm/src/lib/framework/Framework.php(154): OrangeHRM\Framework\Framework->configurePlugins(Object(OrangeHRM\Framework\Http\Request))
#21 /home/adsbim/public_html/hrm/web/index.php(41): OrangeHRM\Framework\Framework->handleRequest(Object(OrangeHRM\Framework\Http\Request))
#22 {main}
thrown in /home/adsbim/public_html/hrm/src/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 101