coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: cly on March 16, 2009, 01:16:27 PM

Title: how to have 2 separate galeries on the same server?
Post by: cly on March 16, 2009, 01:16:27 PM
Hello,
I would like to install 2 instances of coppermine on my server.

After a quick glance at the sources,  it seems that all I need is change TABLE_PREFIX so that I have 2 different sets of tables.
Yet, after a few greps I saw that not all SELECT use the very same prefixing rules, so I am worrying that this might not be supported.

So... is this the right way of doing what I want, or not?
Thanks.
Title: Re: how to have 2 separate galeries on the same server?
Post by: Hein Traag on March 16, 2009, 01:29:07 PM
You can have two installations on one server. Just make you alter the db prefix in the installation steps of one of the two installations.
Title: Re: how to have 2 separate galeries on the same server?
Post by: Nibbler on March 16, 2009, 04:03:28 PM
Or use 2 different databases. Either way, no source editing required.