Hello,
I wanted to know if it is possible to have 2 opencart share the same data base. The reason I ask this is because I am constantly updated, upgrading, and make changes to my main site. So I was thinking to have to sites share the same database that way the main site is always up and the second site can be a work in progress and than all I have to do is copy the files over to the main site after all the changes.
Or is it better to have the main site with its own database and when it it time to upgrade create a second sub called www.xxx.com/upgrade with its own data base.
Thanks
Yes, they can share. You can either manually setup the config files to point to the same database or you can setup the database to be remotely accessible from a different server/local dev environment.
Personally I would say not to do this. Keep your live site and development site strictly segregated. Unless you're doing a lot of table/data changes even an out-of-date copy of your database will be just fine for dev work. Then use a tool like Beyond Compare to sync the together.
Personally I would say not to do this. Keep your live site and development site strictly segregated. Unless you're doing a lot of table/data changes even an out-of-date copy of your database will be just fine for dev work. Then use a tool like Beyond Compare to sync the together.
-Ryan
Who is online
Users browsing this forum: No registered users and 101 guests