Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database unable to connect!!


ayamjawa

Recommended Posts

I've just upgraded my server from php4 and mysql 4 into php5 and mysql 5, but why I get this error when I access to my website Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ajbscom'@'localhost' (using password: NO) in /home/ajbscom/public_html/includes/functions/database.php on line 20

Unable to connect to database server!

:angry: :(

can somebody help me to fix the problem, because I keep fixing it but still having an error. Please let me know the script if I have to add them and where do I have to put those scripts to fix my oscommerce.

 

thanks

Link to comment
Share on other sites

I've just upgraded my server from php4 and mysql 4 into php5 and mysql 5, but why I get this error when I access to my website Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ajbscom'@'localhost' (using password: NO) in /home/ajbscom/public_html/includes/functions/database.php on line 20

Unable to connect to database server!

:angry: :(

can somebody help me to fix the problem, because I keep fixing it but still having an error. Please let me know the script if I have to add them and where do I have to put those scripts to fix my oscommerce.

 

thanks

Have you checked the database details in catalog/includes/configuration.php also catalog/admin/includes/configuration.php

 

(using password: NO) Your database should be password protected, if it is then ensure this password is entered into both configuration files.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...