|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2007
2 posts
Gave thanks: 0
Thanked 0 times
|
phpBB2 Error Message
phpBB : Critical Error
Could not connect to the database I setup a forums using phpBB2 and it's giving me this error. I'm not sure why it's giving me this though since the server isn't down. Anyone know what I need to do to fix it or if I need to provide more information? Thanks |
|
|
|
|
|
#2 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Go into your cPanel and look in the MySQL databases portion. You should see one listed there for your phpBB database. If so, do you see a user associated with it that has access? If not, you need to create a new user and grant that user access to the database with all privelages.
In the phpBB config files (I don't use phpBB), make sure the database name, username, and password are correct. If the MySQL option in cPanel comes up empty, it's possible the MySQL service is down on the server. Check the Service Status on the left side of cPanel to see if MySQL is up. Note, your database names and users will all have your account's username as a prefix: (account)_databasename and (account)_username So... 1. MySQL service is down. 2. No user has been associated with the database in cPanel yet. 3. phpBB Config files do not have the correct database name, username, and/or password in them.
__________________
Last edited by MarkRH; September 7th, 2007 at 3:18 PM.. Reason: typo |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2007
2 posts
Gave thanks: 0
Thanked 0 times
|
Thanks for the quick reply! I didn't have a user associated with the SQL database for the phpBB2 database. I added the user and then I got this message:
phpBB : Critical Error Could not query config information DEBUG MODE SQL Error : 1146 Table 'jerm5_phpb1.phpbb_config' doesn't exist SELECT * FROM phpbb_config Line : 215 File : common.php Looks like I'm missing the config file, but I'm not sure how that happened since I didn't remove it. I used the fantastico feature in the cpanel to create these forums. Thanks! |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2007
7 posts
Gave thanks: 0
Thanked 0 times
|
I would recommend you to drop all database tables and reinstall the forum. Be attentive to enter correct database server name, database name, user and pass correctly from the first try. Then the problem will go away. If you still get the error - this would only mean the database server being down, you may check it by doing telnet to the database server name, port 3306, as: telnet mysqlhost 3306.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|