Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unknown Error


ChrisHoward

Recommended Posts

Posted

I have just been asked to fix this shop and dont know why I keep getting this error on the /admin page?

 

Warning: mysql_connect(): Access denied for user: '[email protected]' (Using password: YES) in /users/ohm3434/www.ohmhealthcare.com/www/catalog/admin/includes/functions/database.php on line 18

Unable to connect to database server!

Posted

Your checkpoints are:

 

- Use the correct database name

- Use the correct username/password

- The above username/password have the right Privileges in the database in question.

 

There are many different ways for setting the right Privileges. Some hosts require you to input your username/password with database name. In some hosts (using cPanel etc) allow you to create a new database without setting username/password (of course, you can add them afterwards).

Posted

I'm not too good at these but it sounds like your username or password is incorrect for the mysql database in the admin configure file, have a look.

 

mes

Posted
Alpha beat me to it so now I look silly:-))

 

mes

Helping people doesn't make anyone look silly, mes. Not in my book! :thumbsup:

Archived

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

×
×
  • Create New...