grizzly Posted November 12, 2002 Posted November 12, 2002 Hi, I am new to this and I have a problem I cannot solve. Just installed OS 2.2 And it looks good. everything works apart from, I tried a test add to cart and go to checkout. The page rdirects me to SSL but I get : Warning: Access denied for user: 'mysql@localhost' (Using password: NO) in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpsdocs/comicstore/catalog/includes/functions/database.php on line 19 Warning: MySQL Connection Failed: Access denied for user: 'mysql@localhost' (Using password: NO) in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpsdocs/comicstore/catalog/includes/functions/database.php on line 19 Unable to connect to database server! What does this mean. Am I doing something wrong. Please help.
Jan0815 Posted November 12, 2002 Posted November 12, 2002 Let me guess ;-) You do not have your own SSL-certificate but instead you use some sort of shared certificate from your ISP. So the SSL-connections are actually running on a different machine. This machine is not your localhost. As osCommerce tries to connect to the MySQL server on localhost (127.0.0.1) things go wrong. Solution: Change the DB-server setting in catalog/includes/configure.php to point to the "real" db-server. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.
grizzly Posted November 12, 2002 Author Posted November 12, 2002 I think this right. How do I go about changing this ( Just learning all about this )
grizzly Posted November 12, 2002 Author Posted November 12, 2002 tried this made things go right down the pan. please can someone help?
focus Posted November 14, 2002 Posted November 14, 2002 Yeah, that is not the answer. Need to find out about shared certificates... :roll:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.