Community management insight at ManagingCommunities.com

Bookmark and Share

Cannot Connect to Database

Cannot Connect to Database

Postby fitz » May 24th 2006, 7:57 pm

If you get an error saying "Cannot Connect to Database" when you are running a database install script that came with a specific hack and you are certain that you have done everything else correctly, there is a simple fix.

Open common.php and find:

Code: Select all
// We do not need this any longer, unset for safety purposes
unset($dbpasswd);

Replace with:

Code: Select all
// We do not need this any longer, unset for safety purposes
//unset($dbpasswd);

Now try to run your database script. But, DON'T FORGET to change the code back once you have run the script. This is for security reasons.
User avatar
fitz
Dedicated User
 
Posts: 1427
Joined: January 5th 2006, 4:39 pm
Location: norwich

Return to phpBB 2: Installation

Who is online

Users browsing this forum: No registered users and 0 guests