Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database connection problem


myideal

Recommended Posts

Posted

Hi,

 

My host has crashed ive had to re-create all the site. Ive added the db user and password again, however it seems not to be working. Im getting the following error, can anyone help to tell me what the problem is and how to go about soliving it.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myideal_osc1'@'localhost' (using password: YES) in /home/myideal/public_html/shop/includes/functions/database.php on line 19
Unable to connect to database server!

Posted

If you can use the same user name and password to log on to phpMyAdmin and see the database that your ocs store is connecting to, then check the datanase server (name), which you should be able to see once you are in phpMyAdmin, or ask your host for it. They should match those set in your configure.php.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted
They should match those set in your configure.php.

 

Ok, so how many cofigure files are there and where can I find them? I have done 2 I think - 1 admin and 1 functions - is that it?

 

Mark

Archived

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

×
×
  • Create New...