I was given a task to create a WordPress Multisite, and to make WordPress Multisite be able to automatically create new database for newly created sites by using the HyperDB plugin.

I have successfully installed HyperDB and created WP Multisite however I’m still having bad time with creating new databases.

I’ve been struggling with this thing for many hours. Anyone having experience with this?

Only thing I managed to do was replication, which is not the wanted result. I’m not providing you with code since it is basically the same code of the plugin so you won’t benefit from it.

I would be very grateful if someone knows how to do this.

Read more here: WP Multisite, HyperDB – For each new site create database


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: