Guest Posted January 8, 2007 Share Posted January 8, 2007 I was getting very close to making my site live but still needed to add SSL support. After my host installed the cert any browser access is stopped by this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /homepages/23/d174745365/htdocs/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I can access the database perfectly through the host control panel so I have to assume it is a configuration issue with OSCommerce. Any help would be appreciated. Al Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2007 Share Posted January 8, 2007 Allow me to clarify: I also have OSCommerce Admin Access. It is just the customer who is attempting to access the site that is met with the error. Al Link to comment Share on other sites More sharing options...
nvedia Posted January 9, 2007 Share Posted January 9, 2007 Can we have a look at your site to help you more? Link to comment Share on other sites More sharing options...
Guest Posted January 10, 2007 Share Posted January 10, 2007 Never mind. The problem was in defining my DB_SERVER constants. Thanks, Al Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.