XF 2.1 Forum down: Connection refused on line 165 - how can help?

ses

Member
Hello,

can someone tell me how to solve this problem?

Thanks

Code:
Fatal error: Uncaught XF\Db\Exception: Connection refused in /var/www-local/web1/html/src/XF/Db/Mysqli/Adapter.php:165

Stack trace:
#0 /var/www-local/web1/html/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection()
#1 /var/www-local/web1/html/src/XF/Db/AbstractAdapter.php(60): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www-local/web1/html/src/XF/Db/Mysqli/Adapter.php(113): XF\Db\AbstractAdapter->connect()
#3 /var/www-local/web1/html/src/XF/Db/AbstractAdapter.php(516): XF\Db\Mysqli\Adapter->escapeString()
#4 /var/www-local/web1/html/src/XF/Db/AbstractAdapter.php(494): XF\Db\AbstractAdapter->quote()
#5 /var/www-local/web1/html/src/XF/DataRegistry.php(138): XF\Db\AbstractAdapter->quote()
#6 /var/www-local/web1/html/src/XF/DataRegistry.php(83): XF\DataRegistry->readFromDb()
#7 /var/www-local/web1/html/src/XF/DataRegistry.php(226): XF\DataRegistry->get()
#8 /var/www-local/web1/html/src/XF/App.php(1657): XF\DataRegistry->offsetGet()
#9 /var/www-local/web1/html/src/XF/Container.php(28): XF\App->XF\{closure}

( in /var/www-local/web1/html/src/XF/Db/Mysqli/Adapter.php on line 165
 
Provider has solved the problem - can we ensure that it does not occur again?

It depends on your host and who neat they handle their stuff. Issues like these are usually minor and never happen quite often. If it happens again and again then I would recommend you look for another host.
 
Back
Top Bottom