Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Problem ( Newbie )


grizzly

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...