Jump to content

Archived

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

monis

error message HELP

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

Share this post


Link to post
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.

Share this post


Link to post
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 ======>>>>>.

Share this post


Link to post
Share on other sites

×