Title: second database?
Last modified: August 19, 2016

---

# second database?

 *  [roakin](https://wordpress.org/support/users/roakin/)
 * (@roakin)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/second-database/)
 * i have a wordpress instance, where some parts of an other instance should be 
   included. the idea is to connect to the second instance’ database and select 
   the posts. is there a better method? can i create a second $wpdb object for the
   2nd connection?
 * thx in advance

Viewing 1 replies (of 1 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/second-database/#post-1223602)
 * > can i create a second $wpdb object for the 2nd connection?
 * yes.
 * see this:
 * [http://wordpress.org/support/topic/307945?replies=6](http://wordpress.org/support/topic/307945?replies=6)

Viewing 1 replies (of 1 total)

The topic ‘second database?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/second-database/#post-1223602)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
