Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error message upon entering admin


Guest

Recommended Posts

Posted

hi guys and girls,

 

I'm not sure what I've done but I keep getting the following message when entering the url for the admin area:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/tease/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

its probably something simple but I'm not too hot on databases!

 

any help greatly appreciated!

 

Mark

Posted
hi guys and girls,

 

I'm not sure what I've done but I keep getting the following message when entering the url for the admin area:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/tease/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

its probably something simple but I'm not too hot on databases!

 

any help greatly appreciated!

 

Mark

 

Have you added the admin section to the databaes? If you goto the config file you have to manually tell that file where to look. Currently its looking for the username ROOT, you need to speicify your details.

 

Sam

Posted
Have you added the admin section to the databaes? If you goto the config file you have to manually tell that file where to look. Currently its looking for the username ROOT, you need to speicify your details.

 

Sam

 

Hi Sam, yes I've sorted it now, but now its throwing up other erros such as the catalog images directory doesnt exist! I cant really understand it as I;ve been working on this site for a few weeks now!

 

here is the error its saying:

 

Error: Catalog images directory does not exist: /images/

 

if you wanted to see my admin/includes/configure.php I'll post it up on here

 

kind regards

 

Mark

Archived

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

×
×
  • Create New...