Issue with Database Information

Status
Not open for further replies.

epsonrok85

New Member
Messages
82
Reaction score
0
Points
0
I keep getting this MyBB error message: http://forumsrule.com/

I looked on MyBB's Wiki page, and I found out what the problem is. In my config.php file, there is something wrong with the $config['database']['username'] and the $config['database']['password']. I was told to ask my host on how to get this information. I know that the name of my website's database is forumsru_FORUMSRULE, but when I made the change in config.php, it gave me the same error message, but it showed the name of the database as forumsru_FORUMSR and I don't understand why. I also don't remember ever creating a password for the database; where can I find it?

Thanks!
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
You need to create a MySQL user and then assign it to your database. You can do this all from cPanel. If you are uncomfortable doing such there is a MySQL wizard that will walk you through the steps. Save any information you enter as you will need it for the config file.
 

epsonrok85

New Member
Messages
82
Reaction score
0
Points
0
What if I had already created the database? Would I have to recreate it in order to have a username/password for it?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
cPanel --> MySQL Databases

You can create a database user there (write down the password) and then add him to the database giving him ALL PRIVILEGES when the permissions popup appears.
 

epsonrok85

New Member
Messages
82
Reaction score
0
Points
0
Awesome, thanks! It worked, and my forum is back up... well, kinda. For me, it's just showing up with a just a page with simple text and images. I don't see my forum's layout or anything. http://forumsrule.com

Edit: Nevermind. It looks good now! Thanks.
 
Last edited:
Status
Not open for further replies.
Top