We want Multiple WordPress instances with multiple databases. I have done multisite by using Network Settings, but we have requirement for multi database for each website. can you please help me? how can I do that?
Thanks,
Vishnu
I’m stuck with this, please help me :
I have a Multiste with 500 blogs as subdomains. It’s been slowing down and the number of tables in this is about 15000+ .
I decided to separate this database into 10 databases and moveving the tables from the original databases accordingly. Then I used HyperDB for this model.
It seams OK when I create new site and it create new tables in different databases. But the problem is when I open a blog, it can not find the right databases and cause “Error database connection”. With some press of F5 button, it show the correct blog but back to error again.
Anyone had faced this issue ? Please help me to solve it.
I have config like this in the db-config.php file :
$wpdb->add_database(array(
'host' => 'xxx.127',
'user' => 'wordpress',
'password' => 'wordpress',
'name' => 'wordpress_host3',
'dataset' => 'global',
'write' => 1,
'read' => 0,
));
$wpdb->add_database(array(
'host' => 'xxx.127',
'user' => 'wordpress',
'password' => 'wordpress',
'name' => 'wordpress_blog003',
'dataset' => 'blog',
'write' => 1,
'read' => 0,
));
i add code in wp-config.php
[Code moderated as per the Forum Rules. Please use the pastebin]
]]>1. cross domain login– I need users to be able to login on the main site and gets redirected to their own subdomain.
2. Subdomain users should see their site as their main site under My Sites — right now, if I go to the demo subdomain, I still see my main site as their primary site and can access my primary site’s dashboard (i’m thinking maybe multiple-database plugin will solve this)
3. If I did use the multi database plugin, will I be able to synchronize all the live stats from across the network on my homepage (like new posts, popular posts, etc)???
Lastly, has anybody use the MarketPress plugin? I’ve been trying in the past days to look for live site using this…
Thanks in advance
]]>I lost alot of hours already…can I get some support?
define( ‘DATACENTER’, ” );
What should be here? I have unlimited db on the same server, 1 ip.
sry, I’m so not getting anything.
https://www.ads-software.com/extend/plugins/shardb/
]]>