Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
359 views
in Q2A Core by

hi, i tried maybe 100 times,  but still not working. i take this result:

i downloaded q2a latest version. after i open my wordpress directory qa folder and i put all files this folder. and qa-config.php i online change define path like this: define('QA_WORDPRESS_INTEGRATE_PATH', '/home/johnsx/public_html'); and i opening www.mysite.com/qa and i take this result:

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.

please tell me where is the error I'm doing?

 
Q2A version: 1.6.3

1 Answer

0 votes
by

First the Wordpress path you have to add relative to your Q2A directory. So if your wordpress in root/ and q2a is under root/q2a than your path would be ../

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.

This error is self explanatory that the database credential you have setup in qa-config.php is not correct.

asked Jan 28, 2014 in Q2A Core by frederic are you sure?
...