Title: Restore Database failed
Last modified: August 21, 2016

---

# Restore Database failed

 *  Resolved [JFSebastian37](https://wordpress.org/support/users/jfsebastian37/)
 * (@jfsebastian37)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/)
 * Hi,
    I myself have caused an error when I tried to change the path settings in
   the general settings of WordPress. Now I can not log in as admin . I tried to
   repair the database using the last backup from BackupWordpress, following the
   FAQ, but pypMyAdmin shows a syntax error. I am absolutely desperate, it is an
   official page – can anybody help? The page is [http://www.i-pa.org](http://www.i-pa.org)(
   Only the Hompage is displayed correctly)
 * Thanks a lot!!
 * JF

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835175)
 * Try adding the below lines to wp-config.php
 *     ```
       define('WP_HOME','http://www.i-pa.org');
       define('WP_SITEURL','http://www.i-pa.org');
       ```
   
 * [http://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php](http://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php)
 *  Thread Starter [JFSebastian37](https://wordpress.org/support/users/jfsebastian37/)
 * (@jfsebastian37)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835185)
 * Hi Rajesh Soni,
    thanks lot for your support. Unfortunately, it didn´t work. 
   Your code produced an error in the php file. Look here: _[link removed]_ . I 
   chnaged it back to old wp-config.php. Still I can se the login screen (a bit 
   damaged), see here: [http://i-pa.org//webgalleries/download/Login%20screen.JPG](http://i-pa.org//webgalleries/download/Login%20screen.JPG)
   But when I try to login, I get the error, look here: [http://i-pa.org//webgalleries/download/error.JPG](http://i-pa.org//webgalleries/download/error.JPG)
 * Somehow I produced a comma instead of a dot in the path settings :-((
 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835190)
 * I do NOT see any errors here: _[link removed]_
 * What is the error that you received after you added those two lines?
 *  [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835192)
 * Hey,
 * BackUpWordPress plugin author here.
 * Could you email me at [support@hmn.md](https://wordpress.org/support/topic/restore-database-failed/support@hmn.md?output_format=md)
   with details of the database error, would love to get to the bottom of that.
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835193)
 * [@jfsebastian37](https://wordpress.org/support/users/jfsebastian37/)
    Please 
   don’t post any passwords or private info here (image of wp-config). It’s best
   you also remove that image from your server.
 *  Thread Starter [JFSebastian37](https://wordpress.org/support/users/jfsebastian37/)
 * (@jfsebastian37)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835227)
 * [@keesiemeijer](https://wordpress.org/support/users/keesiemeijer/): done, thanks
   for hint.
    [@rajesh](https://wordpress.org/support/users/rajesh/) Soni: GREATTTTTTT–
   I did something wrong – now its working after adding the two lines. You are ingenious!!
   [@tom](https://wordpress.org/support/users/tom/) Willmot Human Made: Thank you
   so much for your offer. In the moment I don´t dare to try again to restore the
   database. Anyway I will contact you via email – I have to know this for future
   problems. I will try to installa second version the whole page to a different
   place on the server.
 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835228)
 * You’re welcome. Glad I could be of help.
 * Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Restore Database failed’ is closed to new replies.

## Tags

 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/restore-database-failed/#post-3835228)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
