Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mysql Error - Help


DnJ

Recommended Posts

I am getting an error message when trying to load the admin files.

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:Program FilesApache GroupApache2htdocsnpadministratorincludesfunctionsdatabase.php on line 19

Unable to connect to database server!

 

I have absolutely no idea where to start to fix this problem.

"One Of Life's Greatest Pleasures Is Doing What Others Say You Can't"

Link to comment
Share on other sites

Thank you for the suggestion, you are probably right, I have tried changing the values with no luck. Not sure if I have them set right.

 

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'tmp');

 

No user or password set in my.ini of mysql

"One Of Life's Greatest Pleasures Is Doing What Others Say You Can't"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...