Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php:132
Stack trace:
#0 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(132): PDO->__construct()
#1 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#2 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#4 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(242): Zend_Db_Adapter_Abstract->query()
#5 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(564): Zend_Db_Adapter_Pdo_Abstract->query()
#6 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(634): Magento\Framework\DB\Adapter\Pdo\Mysql->_query()
#7 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query()
#8 /home/test24/public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll()
#9 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll()
#10 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll()
#11 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData()
#12 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter()
#13 /home/test24/public_html/vendor/magento/framework/Data/Collection.php(345): Magento\Framework\Data\Collection\AbstractDb->load()
#14 /home/test24/public_html/vendor/magento/framework/App/Bootstrap.php(217): Magento\Framework\Data\Collection->getColumnValues()
#15 /home/test24/public_html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#16 /home/test24/public_html/index.php(42): Magento\Framework\App\Bootstrap::create()
#17 {main}
Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php:148
Stack trace:
#0 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#3 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(242): Zend_Db_Adapter_Abstract->query()
#4 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(564): Zend_Db_Adapter_Pdo_Abstract->query()
#5 /home/test24/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(634): Magento\Framework\DB\Adapter\Pdo\Mysql->_query()
#6 /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query()
#7 /home/test24/public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll()
#8 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll()
#9 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll()
#10 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData()
#11 /home/test24/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter()
#12 /home/test24/public_html/vendor/magento/framework/Data/Collection.php(345): Magento\Framework\Data\Collection\AbstractDb->load()
#13 /home/test24/public_html/vendor/magento/framework/App/Bootstrap.php(217): Magento\Framework\Data\Collection->getColumnValues()
#14 /home/test24/public_html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#15 /home/test24/public_html/index.php(42): Magento\Framework\App\Bootstrap::create()
#16 {main}
thrown in /home/test24/public_html/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php on line 148