Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help, database error


Guest

Recommended Posts

Posted

Hi

 

I keep getting this error message, anyone know what it means and how do I correct it?

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'myhost' (using password: YES) in /home/inter/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

It's driving me mad.

 

I tried to install another database and since then can't access my shop.

 

Cheers for any help or advice in advance.

 

CapnJack

Posted

Check your configure files, username and password must be correct for database.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
Check your configure files, username and password must be correct for database.

 

Thank you for the reply on this post.

 

I had exactly the same problem.

I wanted to access the database via PHPmyadmin to look at something in the tables and could not remember my password so re-set it in my domain hosts admin panel (i didn't realise i was re-setting the password OScommerce used.....)

Then a customer phoned up saying the website was down.. I realised what I had done but your reply was invaluable in enabling me to speedily find what the password was in the config file so I could change it back & get the site live again.

 

For future reference the configure file can be found here:

 

catalog>includes>configure.php

 

the section with the database info is:

 

// define our database connection

 

this is on line 37 in my install.

 

Regards,

Dave.

Archived

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

×
×
  • Create New...