Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB has experienced an internal SQL error and cannot continue.
#1
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'; 
to
$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
Reply
Thanks given by:



Possibly Related Threads…
Thread Author Replies Views Last Post
  htaccess caching MyBB Admin 0 865 06-19-2020, 03:51 AM
Last Post: Admin
  what template for registration mybb Admin 0 430 11-20-2019, 10:29 PM
Last Post: Admin
  There was an error posting your reply Admin 0 317 10-07-2019, 08:28 PM
Last Post: Admin
  Installing a SSl certificate MyBB Admin 0 520 03-22-2019, 10:45 PM
Last Post: Admin
  Soft deleted posts by members not visible to admin - MyBB Admin 0 1,044 06-24-2018, 04:30 AM
Last Post: Admin
  MyBB SMTP Admin 1 1,204 06-23-2018, 11:26 PM
Last Post: Admin
  MyBB force classic postbit Admin 0 1,391 01-31-2018, 02:53 PM
Last Post: Admin
  Adding h1 tags mybb Admin 0 1,027 11-05-2017, 01:15 AM
Last Post: Admin
  Adding Meta Tags and Meta Description to Mybb Admin 0 1,502 10-28-2017, 07:19 PM
Last Post: Admin
  100% full inbox issue mybb Mark 0 1,051 03-26-2017, 01:39 AM
Last Post: Mark



Users browsing this thread: 1 Guest(s)