Title: Source and destination databases cannot be the same.
Last modified: August 21, 2016

---

# Source and destination databases cannot be the same.

 *  Resolved [kb.oxydo](https://wordpress.org/support/users/kboxydo/)
 * (@kboxydo)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/)
 * Tested online with the following error:
 * Database not pushed. Source and destination databases cannot be the same.
 * Please tell me the info you need to help me resolve this issue.
 * Thanks
 * [http://wordpress.org/plugins/sitepush/](http://wordpress.org/plugins/sitepush/)

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

 *  Plugin Author [Mark Rowatt Anderson](https://wordpress.org/support/users/markauk/)
 * (@markauk)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094717)
 * It sounds like either you have the two DB’s in your sites config set to the same
   thing for the sites in question, or in your dbs config you have two separate 
   DB configs, but they point to the same DB.
 * If that’s not the case, pls post your sites and dbs config files here (omit sensitive
   info like passwords of course) and I’ll take a look.
 *  Thread Starter [kb.oxydo](https://wordpress.org/support/users/kboxydo/)
 * (@kboxydo)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094719)
 * **siteconfig:**
 *     ```
       ; <?php die('Forbidden'); ?> -*- conf -*-
   
       	[all]
       	wp_content_dir = /wp-content
       	wp_plugin_dir = /wp-content/plugins
       	cache = no
       	caches[] = /caches/timthumb
       	caches[] = /caches/something_else
   
       	[live]
       	label = SitePush Site
       	domains[] = sitepushrecipient.see-villa.eu
       	web_path = /homepages/33/d148208799/htdocs/see-villa-sitepushrecipient
       	db = sitepush_database
       	live = yes
   
       	[dev]
       	label = Beta Site
       	domain = beta.see-villa.eu
       	web_path = /homepages/33/d148208799/htdocs/see-villa-beta
       	db = beta_database
       	live = no
       ```
   
 * **db config:**
 *     ```
       ; <?php die('Forbidden'); ?> -*- conf -*-
   
       	[all]
       	prefix = wp_
   
       	[sitepush_database]
         host = db488458253.db.1and1.com
       	name = db488458253
       	user = dbo488458253
   
       	[beta_database]
         host = db486898713.db.1and1.com
       	name = db486898713
       	user = dbo486898713
       ```
   
 *  Plugin Author [Mark Rowatt Anderson](https://wordpress.org/support/users/markauk/)
 * (@markauk)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094725)
 * I don’t see anything obviously wrong in your configs, except the indentation 
   is a bit off… if that’s the case in your actual files, you could try making sure
   that none of the lines are indented.
 * If not, I’ll need to take a look at more detail of your setup. Could you please
   do the following:-
 * 1. add a line with `define('SITEPUSH_DEBUG',TRUE);` in your wp-config.php file(
   above the “That’s all, stop editing!” line)
    2. go to the SitePush options screen,
   at the bottom there should now be a field for debug code, in it please enter `
   var_export($this);`, and save options 3. there will be a lot of information at
   the top. After removing any sensitive info like passwords please could you send
   me that info. If you don’t want to post it all here, you can [email me direct](http://rowatt.com).
 *  Thread Starter [kb.oxydo](https://wordpress.org/support/users/kboxydo/)
 * (@kboxydo)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094727)
 * Hi,
 * Removing indents did not work. Sent the debug info to your email.
 *  Plugin Author [Mark Rowatt Anderson](https://wordpress.org/support/users/markauk/)
 * (@markauk)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094748)
 * It was a bug in SitePush.
 * I’ve just released a new version which should fix this.

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

The topic ‘Source and destination databases cannot be the same.’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sitepush.svg)
 * [SitePush](https://wordpress.org/plugins/sitepush/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sitepush/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sitepush/)
 * [Active Topics](https://wordpress.org/support/plugin/sitepush/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sitepush/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sitepush/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mark Rowatt Anderson](https://wordpress.org/support/users/markauk/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/source-and-destination-databases-cannot-be-the-same/#post-4094748)
 * Status: resolved