# BuddyPress and MultiDB

I've been trying to get BuddyPress working on my WPMU installation that uses MultiDB for database partitioning. It's been cranky, but I just realized I'm a complete idiot because I was overlooking the obvious (and drop dead simple) fix.

BuddyPress was acting up because it was creating tables in each blog's database tableset. But MultiDB makes it easy to declare tables as belonging to a shared global database, so they don't get recreated for each blog and are common across the entire service.

I edited my db-config.php file to declare the BuddyPress tables as being global, and copied the tables from the database where they had been collecting, into the global database.

// BuddyPress