Server/Sub Server database prefix

3 posts / 0 new
Last post
#1 Mon, 03/24/2008 - 12:04
AlexC

Server/Sub Server database prefix

Hey,

I'm wondering what I can do to stop database prefix ... 'collisions' if you like. The problem with how it is currently, is that virtual servers with the same sub-domain will have the same database prefix.

For example, if I create 'foobar.example.com' it's database prefix will be 'foobar_' (this is with it set to ${PREFIX}_), however the domain 'foobar.zomg.com' will also have the same prefix.

What would be better, is to have the prefix for sub-servers also be prefixed with the initial account name.

So, if I first create 'example.com', the prefix for databases will be 'example_'. Then, if I create a sub-server 'foobar.example.com' the prefix for it will be 'example_foobar_'.

I'm wondering if I can set this up somehow, since I've been playing with the prefix setting for the past hour trying to work it out =3.

Regards,

Alex

Fri, 03/28/2008 - 05:58
AlexC

any help on this would be great =)

Fri, 03/28/2008 - 07:55
Joe
Joe's picture

This is bug-like. You should file a ticket in the bug tracker, and Jamie will get some sort of general solution in place.

--

Check out the forum guidelines!

Topic locked