Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

One Database 2 websites


ferpravia

Recommended Posts

Hi there,

I have a simple question, but i can't figure it out.

I want to have websites with oscommerce running 1 database (same database for both).

1 is up and running, I'll install the second one, what should i do during installation when I'm asked to import a database and create sample files?

 

Thank you

 

Best Regards,

 

Fernando

Link to comment
Share on other sites

Hi there, yes i though of that, the thing is i'm making one specific for a country but i will be selling the same products. Regards. Fernando

Hi Fernando,

In that case, I would suggest to make one site only, and based on user IP - you can pass a variable to switch whatever you want for a specific country. Else you can have one database provided your host allows mysql connections to be shared between domains (generally it is restricted, so connections are allowed only from one domain). To make the magic work, you have to test new osc installation with database connection settings in configure.php. If connection succeeds, you can do it, if dbconnection fails, I am afraid, you would have to test other options.

 

Cheers,

Gaurav

Best Regards,
Gaurav

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...