Guest Posted June 29, 2004 Posted June 29, 2004 I have tried to install oscomerce and for some reason I cant. I keep getting a error when I put my host name in. When I hit submit it says (Host 'www.ehostsource.com' is not allowed to connect to this MySQL server ) and for some reason when I put localhost in it says this: "Access denied for user: 'webmaster@localhost' (Using password: YES)"
AlanR Posted June 29, 2004 Posted June 29, 2004 It doesn't sound like you've got the right user name and certainly not the right password for the database. Check your hosting control panel for the correct ones. Somewhere in there you'll find a mySQL section. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Guest Posted June 29, 2004 Posted June 29, 2004 I got the config/install to go threw but when trying to access admin it Says This 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] And When trying to access catalog it takes me back to the Install screen whats up with that. Can someone please help me. Thanks Alot
AlanR Posted June 29, 2004 Posted June 29, 2004 And When trying to access catalog it takes me back to the Install screen whats up with that. Can someone please help me. Thanks Alot It means that you've gotten basically nowhere. If /catalog takes you to install it means that no database server name was saved in the /includes/configure.php file. from application_top.php if (strlen(DB_SERVER) < 1) { if (is_dir('install')) { header('Location: install/index.php'); So... :mellow: Did you set the permissions on includes/configure.php to 777 (rrr www eee)? You might just as well do a manual install. Do you have phpMyAdmin and know how to use it? Is this a web based install? Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
TimeJunky Posted June 30, 2004 Posted June 30, 2004 I got the same problem while using nusphere phped. After a short search, I realized that the settings for db-connection was overwritten with the one from my local developing environment. Just change in both of the configure.php (admin/includes and catalog/includes) following lines define('DB_SERVER', 'my-server-name.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'mydbrootname'); define('DB_SERVER_PASSWORD', '- see field description ;) - '); define('DB_DATABASE', 'my-db'); define('USE_PCONNECT', 'false'); // use persisstent connections?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.