Different s9y versions, same database?

Discussion corner for Developers of Serendipity.
Post Reply
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Different s9y versions, same database?

Post by Don Chambers »

Can I use different versions of s9y from the same common database? I will use unique table prefixes for each install, but want to use a single database for different versions, like 1.6, 1.7, 2 stable, and 2 devel.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Different s9y versions, same database?

Post by garvinhicking »

Hi!

Yes, that's no problem.

ACTUALLY you could even use a single database with a single DB prefix to power MULTIPLE s9y installations with the exact same content / plugin configuration, if you use those installations on distinct subdomains. However that only works properly when the DB structure of those s9y versions is identical, so you should be able to use 2.0 / 2.0.1 / 2.1.0 with an identical database, maybe even 1.7 - but 1.6 will be problematic.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Different s9y versions, same database?

Post by Don Chambers »

garvinhicking wrote:Hi!

Yes, that's no problem.

ACTUALLY you could even use a single database with a single DB prefix to power MULTIPLE s9y installations with the exact same content / plugin configuration, if you use those installations on distinct subdomains. However that only works properly when the DB structure of those s9y versions is identical, so you should be able to use 2.0 / 2.0.1 / 2.1.0 with an identical database, maybe even 1.7 - but 1.6 will be problematic.

Regards,
Garvin
As in sub1.example.com, sub2.example.com? Would example.com/sub1/ and example.com/sub2/ work?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Different s9y versions, same database?

Post by garvinhicking »

No, it would only work when the directories are the same ("/" as on a subdomain).
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply