Guest Posted May 23, 2004 Share Posted May 23, 2004 I managed to finally install the oscommerce onto my site. But now when I try accessing the admin directory: Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in /home/www/MY USERNAME/catalog/ADMINDIRECTORY/includes/functions/database.php on line 19Unable to connect to database server! Any ideas? Link to comment Share on other sites More sharing options...
Guest Posted May 23, 2004 Share Posted May 23, 2004 Did you run the installation script? do this by typing http://yoursite.com/catalog/install into your browser. The error shows that your admin configuration file does not have the correct info - this file is admin/includes/configure.php :) Matti Link to comment Share on other sites More sharing options...
nixadm Posted May 23, 2004 Share Posted May 23, 2004 configure your myphpadmin file and make sure that works Link to comment Share on other sites More sharing options...
241 Posted May 23, 2004 Share Posted May 23, 2004 Warning: mysql_connect(): Host '******' is not allowed to connect to this MySQL server in *:\******\www\*****\******\includes\functions\database.php on line 19 Unable to connect to database server! This indicates the wrong server DB_SERVER information in the configure.php files Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19 Unable to connect to database server! This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files If you can access your catalog then cross reference the database information located at the bottom of the file catalog/includes/configure.php against the file admin/includes/configure.php to see that the information is the same and watch out for case sensitive No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2004 Share Posted May 24, 2004 Thanks, yes the problem was in the admin configure file. I changed that and uploaded it and it worked. But now when I try to click on a link in the admin its trying to access www.mydomain.com/admindirectory rather than /catalog/admindirectory....any ideas? Link to comment Share on other sites More sharing options...
Guest Posted May 25, 2004 Share Posted May 25, 2004 Anyone? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.