Using the Mysql Dump module, I have exported the DB from a site and I would like to import it on another machine that is already running CMSMS on Apache/Windows.
Is is as simple as reinstalling (or copying) CMSMS under a diffetent root folder under httdocs ?
Can I do a find/replace of all 'cms_' prefixes from the SQL script to load it into the new root name ?
i.e. got the backup using 'cms_'
I create a new folder 'site2' under which I install CMSMS, do find/replaceall 'cms_' with 'site2_', create a second MySQL DB using 'site2_' prefix then reload DB from the site2 admin page and voilà ?
Then I would access the 2 sites from urls : www.my_dom.com/cms et www.my_dom.com/site2 ...
I am not using tiny url.
[solved]2 CMSMS sites running on the same Web server ?
[solved]2 CMSMS sites running on the same Web server ?
Last edited by dvh on Thu Oct 30, 2008 4:52 pm, edited 1 time in total.
Re: 2 CMSMS sites running on the same Web server ?
If you use a second DB is useless replace cms_ in site2_ . You MUST if you use same DB (overwrite tables)dvh wrote: I create a new folder 'site2' under which I install CMSMS, do find/replaceall 'cms_' with 'site2_', create a second MySQL DB using 'site2_' prefix then reload DB from the site2 admin page and voilà ?
In site2 run install/index.php but uncheck write tables and sample content (in step 5 about), this write a correct config.php for your new site
Alby
Re: [solved]2 CMSMS sites running on the same Web server ?
Thanks to the 2 of you. Got it working. 
