Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Connection.php:269
Stack trace:
#0 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Connection.php(269): PDO->__construct('mysql:host=mysq...', 'root', 'redsea%%2029', Array)
#1 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Pdo.php(253): Laminas\Db\Adapter\Driver\Pdo\Connection->connect()
#2 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Sql/Sql.php(152): Laminas\Db\Adapter\Driver\Pdo\Pdo->createStatement()
#3 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(227): Laminas\Db\Sql\Sql->prepareStatementForSqlObject(Object(Laminas\Db\Sql\Select))
#4 /var/www/html/yjsocial.redseanet.com/app/lib/Db/TableGateway.php(48): Laminas\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Laminas\Db\Sql\Select))
#5 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(194): Redseanet\Lib\Db\TableGateway->executeSelect(Object(Laminas\Db\Sql\Select))
#6 /var/www/html/yjsocial.redseanet.com/app/lib/Model/AbstractModel.php(164): Laminas\Db\TableGateway\AbstractTableGateway->selectWith(Object(Laminas\Db\Sql\Select))
#7 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(236): Redseanet\Lib\Model\AbstractModel->load(1, 'is_default')
#8 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(169): Redseanet\Lib\Bootstrap::getMerchant(Array, Object(Redseanet\Lib\Session\Segment))
#9 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(87): Redseanet\Lib\Bootstrap::getLanguage(Array, Object(Redseanet\Lib\Session\Segment))
#10 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(100): Redseanet\Lib\Bootstrap::init(Array)
#11 /var/www/html/yjsocial.redseanet.com/index.php(10): Redseanet\Lib\Bootstrap::run(Array)
#12 {main}
Next Laminas\Db\Adapter\Exception\RuntimeException: Connect Error: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Connection.php:280
Stack trace:
#0 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Pdo.php(253): Laminas\Db\Adapter\Driver\Pdo\Connection->connect()
#1 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Sql/Sql.php(152): Laminas\Db\Adapter\Driver\Pdo\Pdo->createStatement()
#2 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(227): Laminas\Db\Sql\Sql->prepareStatementForSqlObject(Object(Laminas\Db\Sql\Select))
#3 /var/www/html/yjsocial.redseanet.com/app/lib/Db/TableGateway.php(48): Laminas\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Laminas\Db\Sql\Select))
#4 /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(194): Redseanet\Lib\Db\TableGateway->executeSelect(Object(Laminas\Db\Sql\Select))
#5 /var/www/html/yjsocial.redseanet.com/app/lib/Model/AbstractModel.php(164): Laminas\Db\TableGateway\AbstractTableGateway->selectWith(Object(Laminas\Db\Sql\Select))
#6 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(236): Redseanet\Lib\Model\AbstractModel->load(1, 'is_default')
#7 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(169): Redseanet\Lib\Bootstrap::getMerchant(Array, Object(Redseanet\Lib\Session\Segment))
#8 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(87): Redseanet\Lib\Bootstrap::getLanguage(Array, Object(Redseanet\Lib\Session\Segment))
#9 /var/www/html/yjsocial.redseanet.com/app/lib/Bootstrap.php(100): Redseanet\Lib\Bootstrap::init(Array)
#10 /var/www/html/yjsocial.redseanet.com/index.php(10): Redseanet\Lib\Bootstrap::run(Array)
#11 {main}
thrown in /var/www/html/yjsocial.redseanet.com/vendor/laminas/laminas-db/src/Adapter/Driver/Pdo/Connection.php on line 280