Fatal error: Uncaught XF\Db\Exception: Connection refused in /var/www/html/src/XF/Db/Mysqli/Adapter.php:165 Stack trace: #0 /var/www/html/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array) #1 /var/www/html/src/XF/Db/AbstractAdapter.php(62): XF\Db\Mysqli\Adapter->getConnection() #2 /var/www/html/src/XF/Db/Mysqli/Adapter.php(113): XF\Db\AbstractAdapter->connect() #3 /var/www/html/src/XF/Db/AbstractAdapter.php(518): XF\Db\Mysqli\Adapter->escapeString('...') #4 /var/www/html/src/XF/Db/AbstractAdapter.php(496): XF\Db\AbstractAdapter->quote('...') #5 /var/www/html/src/XF/DataRegistry.php(139): XF\Db\AbstractAdapter->quote(Array) #6 /var/www/html/src/XF/DataRegistry.php(84): XF\DataRegistry->readFromDb(Array, Array) #7 /var/www/html/src/XF/DataRegistry.php(228): XF\DataRegistry->get(Array) #8 /var/www/html/src/XF/App.php(1927): XF\DataRegistry->offsetGet('...') #9 /var/www/html/src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container)) #10 /var/www/html/src/XF/App.php(1273): XF\Container->offsetGet('...') #11 /var/www/html/src/XF/Container.php(234): XF\App->XF\{closure}(0, Array, Object(XF\Container)) #12 /var/www/html/src/XF/App.php(2918): XF\Container->create('...', 0) #13 /var/www/html/src/XF/Pub/App.php(190): XF\App->language(0) #14 /var/www/html/src/XF/App.php(2479): XF\Pub\App->start(true) #15 /var/www/html/src/XF.php(524): XF\App->run() #16 /var/www/html/index.php(20): XF::runApp('...') #17 {main} thrown in /var/www/html/src/XF/Db/Mysqli/Adapter.php on line 165