Title: Use multiple databases within WordPress?
Last modified: June 20, 2020

---

# Use multiple databases within WordPress?

 *  Resolved [sebasjuh](https://wordpress.org/support/users/sebasjuh/)
 * (@sebasjuh)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/use-multiple-databases-within-wordpress/)
 * Would it be possible in WordPress to use multiple Redis databases and store specific
   items per database?
 * And is this possible to setup within the wp-config.php file?
    For example I can
   create multiple Redis databases (with different ports and passwords) and I want
   to use a database for terms and another database for products.
 * How can this be setup (if it’s possible) ?

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/use-multiple-databases-within-wordpress/#post-13014290)
 * It’s best to use a single database for object caching.
 * You can however open several connections yourself and store different things 
   in different databases.
 * That is and will not be scope of this plugin tho.
 *  Thread Starter [sebasjuh](https://wordpress.org/support/users/sebasjuh/)
 * (@sebasjuh)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/use-multiple-databases-within-wordpress/#post-13014966)
 * ok thanks then I will keep it with one database.

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

The topic ‘Use multiple databases within WordPress?’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [sebasjuh](https://wordpress.org/support/users/sebasjuh/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/use-multiple-databases-within-wordpress/#post-13014966)
 * Status: resolved