Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Database will not connect after initail setup


Recommended Posts

This is my first time working with this product.

I can see the mysql database on line and it is on the local computer. PhP works fine.(c:\php\ and c:\inetpub\catalog\) Is there a odbc driver that I need? or is it my configure.php file that is not correct.



define('HTTP_SERVER', '');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');


define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'C:/Inetpub/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'download_store');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');



The other question I have is will oscommerce work with SQL2000 or SQL2005?

Link to comment
Share on other sites

define('DB_SERVER', '');

I think it should be

define('DB_SERVER', 'localhost');



Is there a odbc driver that I need?

no, simply install the MySQL server on your computer

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites


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

  • Create New...