Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database error


Guest

Recommended Posts

Posted

Hi, im getting this page error at the moment, can anybody tell me how to fix this?

 

#####

 

Warning: mysql_connect(): Access denied for user: 'upgrad_ferris@localhost' (Using password: YES) in /virtual/upgradecentral.co.nz/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

#####

 

www.upgradecentral.co.nz :thumbsup:

Posted

In your config file you have an error. Most likely you host server for the mysql is not "localhost" check with your isp and see what the mysql server address is.

 

If you still have the error make sure you have the right username password and database name for the cart.

 

includes/config.php

 

and admin/includes/config.php

 

at the bottom of the file.

 

 

Hi, im getting this page error at the moment, can anybody tell me how to fix this?

 

#####

 

Warning: mysql_connect(): Access denied for user: 'upgrad_ferris@localhost' (Using password: YES) in /virtual/upgradecentral.co.nz/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

#####

 

www.upgradecentral.co.nz :thumbsup:

Posted

Exact the same problem occured here after replacing those PHPfiles by versions from a contribution, because 'the readme said merging would be needless if you're working on a clean version'. Well not, after replacing the empty spaces for my info (creating another installation with a '1' after every entry makes it easier to see what lacks on your orig install, for example 'test1' instead of the originals 'test'.

 

hope I made myself clear, otherwise sorry. :P

Archived

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

×
×
  • Create New...