How to install multiple Wordpress blogs with only one MySQL
- Author: dkalo
- Filed under: HowTo
Thursday
Oct 2,2008

Some days ago, I decided to create a new blog for my upcoming podcast but there was only one MySQL database. So, I had to use it for 2, or even more, blogs. The solution came, as usual when it comes to programming, from my friend Panagiotis.
In fact, it is a real simple solution.
- Create a new subdomain
- Unzip wordpress inside the new subdomain
- Copy from the first blog the file “wp-config.php” locally
- Edit it by adding “$table_prefix = ‘new_db_name_’;”
- Upload the edited file to wordpress folder
- You are done
Really easy and simple after all! Thanks Panagiotis!
3 Responses for "How to install multiple Wordpress blogs with only one MySQL"
Hi, i whas seeking for a long time, is it realy SO simple?
And what do i edit in de $table? The name of my subdomain?
this solution refers to 2.6 wordpress installation. I don’t know if it will work in later versions. However, you can try it.
You just have to add the name of the new database, whatever you want it to be.
Okay… thanks, i found yesterday the plugin WP-hive. http://wp-hive.com/ fot just incase
Later….
Leave a reply