Affiliate Marketing Blog
Affiliate Marketing Blog Home

Dec30

3 Comments

If, like me, you have a restriction on the amount of SQL databases you can have on your hosting then this is a little tip that I had trouble finding out when I wanted to create more WordPress sites.

I have a restriction of 15 databases with my 1&1 hosting account, I started to look around for a new host but didn’t really fancy moving all my domains as it would be a bit of a nightmare, so this is the solution.

In your wp-config.php file you can change the prefix of the tables that are created, the default is ‘wp_’ so you can change this to anything else, for example ‘ps_’ or ‘sq_’, this will enable multiple installs of wordpress on one database.

wp-config

3 Comments

  • avatar

    Comment by Richard — December 30, 2009 @ 5:34 pm

    Ahh, handy! Cheers for the quick tip :) Will certainly save effort in setting up extra DBs and then it’s also easier when backing up!

  • avatar

    Comment by James — December 30, 2009 @ 6:00 pm

    I’ve just moved my hosting over to heart internet. reseller package is really cheap and has unlimited databases. best hosting i’ve had yet.

  • avatar

    Comment by admin — December 30, 2009 @ 6:05 pm

    Heart Internet are the ones I would change to if I did, but I don’t really want to pay for two hosting accounts at once and moving 120 odd domains at once doesn’t sound like fun either :)

RSS feed for comments on this post. TrackBack URL

Leave a comment