Page 1 of 1
[Solved]Two cms point to the same database
Posted: Wed Dec 17, 2014 11:23 am
by tomaszgaluszka
Hello,
I want to know it is possible have two cms which will be using the same database ?
--
Thanks
Re: Two cms point to the same database
Posted: Wed Dec 17, 2014 12:01 pm
by Jo Morg
Yes, just use different table prefixes for each (there is a config.php entry for that). Consult the file CMSMS_config_reference.pdf inside the doc folder, for further info.
Re: Two cms point to the same database
Posted: Wed Dec 17, 2014 6:27 pm
by Dr.CSS
If you use the same prefix on both it will make duplicate sites, if you want to use one DB for 2 separate installs you need to use 2 different prefixes which will make it hard to export if ever needed...
Re: Two cms point to the same database
Posted: Thu Dec 18, 2014 12:58 am
by magallo
You can connect one database to 2 cmcms installations. You can share the exact same database with the same data if during the installation of the second site you don't create new tables but just reference to the database. Keep in mind that changes made in site 1 will effect site 2
Re: Two cms point to the same database
Posted: Fri Dec 19, 2014 12:05 pm
by tomaszgaluszka
I want second installation of cms working on another server to provide content ,without access to administrators area.
Users can get access to administration area only from one place.
Thanks a lot.