Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server!


abselect

Recommended Posts

Does any body know how to enable mysql for connection

 

I am using mysql databses for my forum and they work well

 

But I have never made a connetion to the server before using the following code.

 

 

// define our database connection

define('DB_SERVER', '213.239.46.144');

define('DB_SERVER_USERNAME', 'username');

define('DB_SERVER_PASSWORD', 'passwd');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 1);

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...