MyBB has experienced an internal SQL error and cannot continue.
SQL Error:2002 - No connection could be made because the target machine actively refused it.
Query:[READ] Unable to connect to MySQL server
Please contact the MyBB Group for technical support.
edit inc/config.php 
$config['database']['hostname'] = 'localhost'; 
$config['database']['hostname'] = 'localhost:0000';
usually in this case scenario it's because your MySQL or Mara is using a different port other then the default 3306
Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
  htaccess caching MyBB CanadaCommunity 0 1,608 2020-Jun-19-2:51 am
Last Post: CanadaCommunity
  what template for registration mybb CanadaCommunity 0 1,039 2019-Nov-20-9:29 pm
Last Post: CanadaCommunity
  There was an error posting your reply CanadaCommunity 0 815 2019-Oct-7-7:28 pm
Last Post: CanadaCommunity
  Installing a SSl certificate MyBB CanadaCommunity 0 1,115 2019-Mar-22-9:45 pm
Last Post: CanadaCommunity
  Soft deleted posts by members not visible to admin - MyBB CanadaCommunity 0 1,673 2018-Jun-24-3:30 am
Last Post: CanadaCommunity
  MyBB SMTP CanadaCommunity 1 1,956 2018-Jun-23-10:26 pm
Last Post: CanadaCommunity
  MyBB force classic postbit CanadaCommunity 0 2,067 2018-Jan-31-1:53 pm
Last Post: CanadaCommunity
  Adding h1 tags mybb CanadaCommunity 0 1,631 2017-Nov-5-12:15 am
Last Post: CanadaCommunity
  Adding Meta Tags and Meta Description to Mybb CanadaCommunity 0 2,183 2017-Oct-28-6:19 pm
Last Post: CanadaCommunity
  100% full inbox issue mybb .M. 0 1,579 2017-Mar-26-12:39 am
Last Post: .M.

Users browsing this thread: 1 Guest(s)