Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database


SimoNtpf

Recommended Posts

Posted

I have installed EasyPHP (ver 5.3.2i) and the I have copied files from my running shop to localhost. I think I have done all necessary steps when configuring the configure.php file, but I am still geting this error:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\Program Files (x86)\EasyPHP-5.3.2i\www\sfaf\catalog\includes\functions\database.php on line 19

Unable to connect to database server!

 

Where to start with solving this problem?

 

I haven't run php and mysql on local never before so it is possible that there is an beginner mistake - but I really dont know where to start solving it.

Posted

I have installed EasyPHP (ver 5.3.2i) and the I have copied files from my running shop to localhost. I think I have done all necessary steps when configuring the configure.php file, but I am still geting this error:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\Program Files (x86)\EasyPHP-5.3.2i\www\sfaf\catalog\includes\functions\database.php on line 19

Unable to connect to database server!

 

Where to start with solving this problem?

 

I haven't run php and mysql on local never before so it is possible that there is an beginner mistake - but I really dont know where to start solving it.

 

Check your catalog/includes/configure.php and admin/includes/configure.php file to see if those settings are correct as they may still be configured for the running site.

 

Barbara

Posted

Check your catalog/includes/configure.php and admin/includes/configure.php file to see if those settings are correct as they may still be configured for the running site.

 

Barbara

 

I have reconfigured both of the configure.php files at the beginning.

Archived

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

×
×
  • Create New...