View Single Post
  #3  
Old 10-27-2016, 03:30 AM
Silver_Brick Silver_Brick is offline
Designer || Coder
 
Join Date: Oct 2016
Location: In Earth
Posts: 205
Gender: Male
Credits: 27,168
Silver_Brick is on a distinguished road
Question Fixing Database Errors

Q.Fixing Database Errors ?
Ans.MyBB setup is made to be as simple as possible. However, database connection issues may arise during installation, or later after installation. This article will explain some of the most common database connection errors and suggest ways to resolve the issue causing them.

getting error like this ???

This means that your configuration is wrong! Don’t worry though, this is easy to fix. First - lets find out our username and password.

If you’re on a shared hosting environment that uses cPanel, log in to cPanel and select your database configuration

Create a username and password, and then assign this user to the database MyBB will use:

Now that you have assigned a user to your database, we need to change the MyBB configuration to reflect this.

Open your preferred FTP software and navigate to ./inc/config.php.

Enter the details that you made earlier like so:

$config['database']['hostname'] = 'localhost';
Reply With Quote