"Error establishing a database connection" - After restoring wordpress website with XCloner | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
"Error establishing a database connection" - After restoring wordpress website with XCloner
November 14, 2011
4:28 am
Avatar
Mike
Member
Members
Forum Posts: 3
Member Since:
November 13, 2011
sp_UserOfflineSmall Offline

Good day!

Forgive me if you think this issue has been already posted before but I couldn't find any time to look for the thread if there's any

as this is an urgent issue from our end.

 

Basically, we have a wordpress website http://imgdistributi.....o.uk/read/ that we have backed up with XCloner.

I was able to make a backup file with Drop Syntax and have loaded the file to the new server.

 

After we have restored the website using XCloner, here's the error I get:

 

"Error establishing a database connection"

 

I have also gotten this error in setting up the restore through WAMP.

 

The steps that I've done are:

 

- checked wp-config.php file. All new database details seems to be intact

- repaired all database tables via PhpMyAdmin

 

The only thing that I have noticed in checking the original database from the original server is that

its saying that the database is locked by an easyapp software. I'm not really sure if this has something to do

with the problem as I was able to backup and restore the database. In my humble guess, I think it

might have to do with a broken or corrupted database table, but still not sure.

 

Could anyone possible provide an information how could this be possible fixed?

 

I would greatly appreciate and help from anyone. Smile

 

Thank you very much,

Kind Regards

mvsx

November 14, 2011
4:31 am
Avatar
Mike
Member
Members
Forum Posts: 3
Member Since:
November 13, 2011
sp_UserOfflineSmall Offline

P.S.

 

I have gotten the error message through wamp and the live server as well

November 14, 2011
9:15 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Mike, when restoring, make sure you are using the mysql details from the new server, so XCloner can connect to a new database and import there the database backup, the mysql restore area is not related to the original server mysql details.

 

Hope it helps! Ovidiu

November 14, 2011
9:55 pm
Avatar
Mike
Member
Members
Forum Posts: 3
Member Since:
November 13, 2011
sp_UserOfflineSmall Offline

Hi Ovidiu,

 

Thank you for your response.

I have successfully ran the restore including the database. My only concern is the error message im getting

even if the database details are correct.

I have already checked thoroughly the mysql for the new server, but still it would not work

I have tried the same process on both localhost(WAMP) and live server and it gives us an issue, I know the solution is pretty

straightforward by just making sure the mysql details are correctly set. Cry

 

When I also go to the URL/wp-admin of the new server, its says that some of the database tables need to be repaired. So I tried running

and repairing tables, but after that it's still gives me the same error message

 

The original database from the server where we got the backup files seems to be locked down by an easyapp software? Im not sure if that makes sense or if it has something to do with the problem?

 

Many thanks in advance Ovidiu!

Kind Regards,

Mike

November 18, 2011
10:15 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Could you post here a screenshot after your mysql restore details? That error might indicate as well that the mysql server is somehow innacesibe, are you able to browse/create databases through phpmyadmin?

 

Ovidiu

June 20, 2013
9:34 am
Avatar
Guest
Guests

For that You need to create a privillage Access to install WP successfully.

As same information you provided in the WP-config.php

This might Help you:

http://elitefox.org/.....cLFmfnIscc

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
ISIDORO ILARDO
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0