Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the following error.

Error establishing a database connection

I have a WP +BP + Faecbook site that is down. I had a recent backup before I made the changes. I am tryng to restore that.

I have never used this tool. Quick leson right here.

Plugin Name backupwordpress-

What it created A Zip file with all my folder and files, and an SQL file.

My Host HostGator :( cPanel=YES

I have imported SQL. That database is there. Using FTP I replaced all files as was in the archive.

I get that error Error establishing a database connection

I think it is a password but would that not be the same with the database being imported? Which password and user does it need?.

-Ryan

share|improve this question

migrated from stackoverflow.com Sep 4 '12 at 10:58

This question came from our site for professional and enthusiast programmers.

1  
check wp-config.php to ensure that the connection information is correct. –  Ohgodwhy Sep 4 '12 at 0:06
    
Yeah, been there and looked at that. What I see if database connections to the same named database and what I presume was the original password. I will change them now, both I guess in SQL and wp-config.php. Thanks for keeping me looking there, –  RyanMichael Sep 4 '12 at 0:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.