bts1428 Posted March 15, 2004 Posted March 15, 2004 I am new to this and I made mysql database and installed oscommerce. All the installation went great but when I click on the adminitration tool it gave me an error messege that says Warning: mysql_pconnect(): Unknown MySQL Server Host 'mysql04.powweb.com ' (1) in /www/b/bauti1428/htdocs/cdstore/catalog/admin/includes/functions/database.php on line 17 Unable to connect to database server! why did it give me this error? I check on all the rights for this user and eveything was set to allow all. Please somebody get back to me when you get a chance. Bobby
user99999999 Posted March 15, 2004 Posted March 15, 2004 Check and make sure that your catalog/admin/includes/configure.php has the same db settings as catalog/includes/configure.php. Its down at the bottom // define our database connection ...
masat Posted March 15, 2004 Posted March 15, 2004 Hey Roberto, Check the settings to the db in /admin/includes/configure.php verify at the bottom of the file: define('DB_SERVER', 'localhost'); // eg, localhost define('DB_SERVER_USERNAME', 'your-use-name'); define('DB_SERVER_PASSWORD', 'your-pwd'); define('DB_DATABASE', 'your-db-name') Is the catalog side working ok? The settings above should match those in catalog/includes/configure.php Tim How do you know when you know what you want to do for the rest of your life?
masat Posted March 15, 2004 Posted March 15, 2004 That's it... What Dave said... :) How do you know when you know what you want to do for the rest of your life?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.