Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HEEEELLLLPPPP MEEEE PLS


Guest

Recommended Posts

Posted

Hello I have a problem

 

I have a server that runs MySQL but my site runs on an other server!

 

How can I install and run Oscommerce?

 

I managed to install a database on the MySQL server and stuff

 

but when I want to use the administration tool, it connects to my sites server which doesnt support MySQL and I get an error: cant connect with MySQL ( something like that )

 

Can someone pls help me!?

Posted

In includes/configure.php and admin/includes/configure.php, you need to properly set your database information.

 

  define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', '');

You need to set the DB_SERVER to a server name or IP that will resolve to the MySQL server. Then for DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, set the username, password and database name for your OSCommerce MySQL database.

 

On your MySQL server, you will need to make sure it accepts connections from your webserver.

Contributions

 

Discount Coupon Codes

Donations

Archived

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

×
×
  • Create New...