Problems running two sites from same MySQL database
Posted: Thu Jan 20, 2011 3:10 am
Hello,
I've encountered a problem running CMSMS from a host which has only supplied one database.
Site A has been running for some time and the DB prefix uses the default "cms_". This site continues to function.
Site B has been configured to use "equ_" as the table prefix. The tables are copied over from a staging server (where everything works fine but the sites are in different databases) and imported into the same database as Site A.
After reconfiguring config.php to use the correct paths and the new database details (user/pass/host/db name) the site does not load correctly. It appears to be using components from Site A's tables even though the prefix has been reconfigured to use "equ_".
Any ideas on how to troubleshoot this?
Thanks in advance.
I've encountered a problem running CMSMS from a host which has only supplied one database.
Site A has been running for some time and the DB prefix uses the default "cms_". This site continues to function.
Site B has been configured to use "equ_" as the table prefix. The tables are copied over from a staging server (where everything works fine but the sites are in different databases) and imported into the same database as Site A.
After reconfiguring config.php to use the correct paths and the new database details (user/pass/host/db name) the site does not load correctly. It appears to be using components from Site A's tables even though the prefix has been reconfigured to use "equ_".
Any ideas on how to troubleshoot this?
Thanks in advance.