Post by Charlbury » Mon Jul 04, 2011 4:34 pm

Hi

I am working with a hosted account that only allows me to have one MySql Database which is being used for a Wordpress site.

I am trying to add an Opencart store, but I can't create another database to host it.

Can I use the Wordpress database for the Opencart installtion? Can it happily add the tables it requires into the Wordpress database and operate from that?

Thanks

Newbie

Posts

Joined
Mon Jul 04, 2011 4:18 pm

Post by ThLord » Mon Jul 04, 2011 9:57 pm

yes you can, but bedder to give the OC Table a prifix, like oc_ or other.

OC 1.5.0.5


New member

Posts

Joined
Tue Jun 14, 2011 4:09 am

Post by Charlbury » Mon Jul 04, 2011 10:39 pm

Thnks very much for that. I'll give it a go on a test system.

Newbie

Posts

Joined
Mon Jul 04, 2011 4:18 pm

Post by Charlbury » Mon Jul 04, 2011 11:50 pm

Yes, I did exactly that. I set up Opencart using my Wordpress database, but gave the tables the prefix oc_. The installation worked fine and has had no apparent affect on the Wordpress site. The Opencart store seems to run fine too. If I spot any issues ongoing, I'll post another comment.

Thanks again.

Newbie

Posts

Joined
Mon Jul 04, 2011 4:18 pm

Post by Xsecrets » Tue Jul 05, 2011 12:10 am

as long as you specify a table prefix you should have no problem with this configuration, and you get the added benefit that if you are going to attempt any sort of integration you can directly query the other programs database.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US
Who is online

Users browsing this forum: No registered users and 14 guests