Hello,
I want to know it is possible have two cms which will be using the same database ?
--
Thanks
[Solved]Two cms point to the same database
-
- Forum Members
- Posts: 12
- Joined: Thu Oct 03, 2013 7:35 am
[Solved]Two cms point to the same database
Last edited by tomaszgaluszka on Fri Dec 19, 2014 12:06 pm, edited 1 time in total.
Re: Two cms point to the same database
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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Two cms point to the same database
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
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
-
- Forum Members
- Posts: 12
- Joined: Thu Oct 03, 2013 7:35 am
Re: Two cms point to the same database
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.
Users can get access to administration area only from one place.
Thanks a lot.