Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error message HELP


monis

Recommended Posts

My programmer disappeared...so i had to change the php my admin password ....after that some link on my website got broken and started showing this error.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user

 

What should i do....pls help.

 

Thanks in advance

 

Max

Link to comment
Share on other sites

The error is saying the database can't be accessed. You probably changed the login details for the database when you made your change. That is fine but you also have to change them on the server.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Just to expand on the above, edit the settings for db name, user and password so they match the values you have set in

 

includes/configure.php

 

and

 

admin/includes/configure.php

 

If you can't update includes/configure.php you will need to chenge the permissions on the file so it is writable and once you have updated it secure the file again so it is not writable.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...