deluxetrade Posted September 29, 2005 Posted September 29, 2005 Warning: mysql_connect(): Access denied for user 'garmentw_osc1'@'localhost' (using password: YES) in /home/deluxe/public_html/includes/functions/database.php on line 19 Unable to connect to database server! waiting for your help.. email- [email protected] msn- [email protected]
mi_jaiten Posted September 29, 2005 Posted September 29, 2005 Warning: mysql_connect(): Access denied for user 'garmentw_osc1'@'localhost' (using password: YES) in /home/deluxe/public_html/includes/functions/database.php on line 19Unable to connect to database server! waiting for your help.. email- [email protected] msn- [email protected] Hi, To start check your configure.php file Change this in catalog/includes/configure.php at the bottom // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> To this: // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'Put your username here'); maybe it?s 'garmentw_osc1' define('DB_SERVER_PASSWORD', 'Put your password here'); define('DB_DATABASE', 'Put your database name here'); maybe it?s 'garmentw_osc1' define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Kind Regards, Michelle.
deluxetrade Posted September 29, 2005 Author Posted September 29, 2005 Hi, To start check your configure.php file Change this in catalog/includes/configure.php at the bottom To this: Kind Regards, Michelle. this is my configure.php.. see if anything is wrong with it: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://deluxetrade.biz'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://deluxetrade.biz'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'deluxetrade.biz'); define('HTTPS_COOKIE_DOMAIN', 'deluxetrade.biz'); define('HTTP_COOKIE_PATH', '/public_html/'); define('HTTPS_COOKIE_PATH', '/public_html/'); define('DIR_WS_HTTP_CATALOG', '/public_html/'); define('DIR_WS_HTTPS_CATALOG', '/public_html/'); 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', '/home/deluxe/public_html/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'deluxe_osc1'); define('DB_SERVER_PASSWORD', '7STkEMLoOGU'); define('DB_DATABASE', 'deluxe_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // STS: ADD: Define Simple Template System files define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/mysite/'); define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php'); // STS: EOADD ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.