Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Unable to connect to database server!


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', '');

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


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

  • Create New...