Welcome. Get your technical questions answered and offer your help too!!!

Use EcoCash to buy NetOne & Telecel airtime online. Tap here
advertisement
advertisement
60.3k views
in Web by new here (870 points)
retagged by
Below is the stuupid error i am getting, after configuring and renaming the qa-config.php then uploading it....i am like frustrated so much that if i try one more and fail i am gonna kick everything in sight


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a****s_yo****s'@'localhost' (using password: YES) in /home/****/public_html/question2answer-latest/qa-include/qa-db.php on line 66

Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges.

Use EcoCash to buy NetOne & Telecel airtime online. Tap here
advertisement

2 Answers

+1 vote
by Guru (57.6k points)
that error means you have not setup the database user correctly

if you are using cpanel when you create the user you also have to assign it to the database you want it to access

softaculous is the simplest method to install, especially if the scripts dont update that often but if you plan to customise or for scripts that contain there own updaters (eg wordpress) it becomes more of a hindrance/annoyance to use softaculous compared to doing it yourself
0 votes
by Regular (1.7k points)
Use softacoulous...if your host has it that is. It will do all the installation and configuration for you.
Welcome to Techzim Answers,

You can ask questions and receive answers from the Zimbabwean internet community.

If you're not sure how to proceed from here just click here and ask
...