I would look into using HyperDB instead.
This would allow you to pull data from several databases while one is replicated as the “master” database.
http://wordpress.org/plugins/hyperdb/
From the description page of the plugin:
It supports:
- Read and write servers (replication)
- Configurable priority for reading and writing
- Local and remote datacenters
- Private and public networks
– Different tables on different databases/hosts- Smart post-write master reads
- Failover for downed host
- Advanced statistics for profiling
Hope this helps you.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Seriously stuck with some custom meta box/plugin stuff
- How to get images from EDD post?
- Accessing post’s meta data based on user’s click of a post
- Easiest way to add dropdown to a page
- How to get the element ID from new menu list that added with add_filter()?
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- Delete mobile menu button [closed]
- Center and hide overflow of WP toolbar custom links
- How to delete all trashed item in one-go
- WordPress custom taxonomy not showing
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- “Allowed memory size” problem [closed]
- How to create repeater field manually, without plugin (ACF Pro)?
- How to get the custom field value using SQL query
- How to arrange custom posts in the backend/admin by custom taxonomy
- Problem with checked box on wp car manager plugin
- WordPress hide post from custom post-type on a single page
- Calling an custom field from theme option at the frontend
- WordPress User Frontend Editing Custom Fields
- public custom posts not showing in my wordpress plugin
- Tickera missing attendees – No attendees found
- Remove H1 title in admin post edit screen
- Redesigning Custom Post Type “Add New” page
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- Using require_once in a Plugin?
- Simple form that saves to database
- How to call “page specific menu items” in template [closed]
- How to call plugin path in JS?
- Get Current user email as a return string value
- Getting Custom Post Type content from main-site of a Multisite
- Stackoverflow type of badge plugin giving warnings in WordPress 3.5
- How can I make content disappear when a user logs in?
- Custom comment type maybe?
- Plugin.php: PHP Notice: Undefined offset: 0 in
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Enable comments for post with comments meta box removed
- New Plugin: Post update pushes a copy as a revision
- Overide a function that is inside a plugin
- Multiple navigation menus to a location?
- WooCommerce get_price returning wrong price when used via ajax
- Open Post Thumbnail in New Child Theme File in WordPress
- Add keywords meta to index.php page
- WordPress on AWS with ELB
- Executing my function once on a specific time
- How to access data in wordpress database externally using php
- how to add a button next to the wordpress view button?
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- How to display custom WP menus?
- Why “Call to a member function on a non-object” in plugin only?
- What are the specifics of WordPress development I need to know? [closed]
- After upgrade to php 7 plugin/them updates broke [closed]
- How to echo text in browser instead of download junk file?
- Create a plugin from within WordPress
- Class variables not correct on page
- Load Javascript from Plugin in One Page Only?
- Call plugin with php function
- Custom setup of wordpress comments that are displayed
- Setting Up PHP Workflow in WordPress
- How can I exclude a dynamic URL to show a popup created using ‘WordPress Popup’ plugin
- output html on post or page from custom plugin [closed]
- Pagination hitting 404 page on /page/4
- How can i add simple code in only in posts by function.php
- Hide DIV if empty – Plugin Gallery
- Profile / benchmark wordpress on apache?
- Way to send multiple values for column to MySQL?
- Changing location of “About me” section
- What hook can I use to modify custom post data before it is displayed on the page?
- WP Insert Post If user refreshes override new post
- Code for unique user visit count on every page WordPress
- Searching a tab/space delimited text file based upon form criteria and returning a ‘record’ into a word press results page
- Register PODS Custom Field with WPGraphQL [closed]
- WordPress is redirecting me to homepage
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Redirect to a page while maintaining search query parameters without causing an infinite loop
- How to ignore fields if empty?
- Moving a few select DB tables to a new WP instance
- Cron job shedules replace?
- Create a form and have custom menu display based on user answers?
- Set a template on a custom post in the plugin
- jquery plugin won’t fire when hamburger class element clicked
- How to get the total count of Favorite/Favorited authors
- Admin login substantially slower on production server
- Problem with conditional woocommerce custom checkout field
- Admin page and admin menu. Permissions plugin
- Show custom taxonomy not in submenu
- Power Menus plugin destroys menu after adding new item
- How can I insert a record into a custom table from my custom form in my custom admin page?
- Editing Global Variables from Inside Functions
- Posting code inside the post instead of in the template file using shortcode
- conditional tags for the output of a plugin
- Can’t insert files in other inputs
- How to list the categories by custom taxonomy created?
- How do I output user_registered time in my correct timezone?
- How to tweak a plugin without preventing it from updating
- Place max_execution_time in plugin [closed]
- Creating a press page for our project
- how to search through plugin in wordpress cimy-user-extra-fields?
- wordpress illegal string offset ‘parameter’ error
- Translate text for empty product