Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
224 views
in Q2A Core by

Replace /PATH/TO/WORDPRESS in the example with the full path to the WordPress 3.x directory on your server, i.e. the directory which contains wp-load.php. You do not need to set your MySQL database details in qa-config.php since these are imported from WordPress automatically. Q2A and WordPress will use separate tables within the same MySQL database.

so i think i do not need make qa-config.php edit db user, db, and password. 

Q2A version: 1.6.3
related to an answer for: q2a error integration with wordpress!

1 Answer

0 votes
by
Very first, write question title more specific with the issue. Your question can be ignored if it doesn't interest to the person here.

For WP you do not need to set full path but relative from Q2A directory to WP directory where wp-load.php lies and that's on the root. So if www.my site.com is your WP site on server ROOT and Q2A is www.mysite.com/qa means ROOT/qa.

You need to define WP path as ../

Of course you have to setup qa-config.php but the database credentials will be the same as WP db, since it will be installed in the same database.

BTW this answer has been given many many time from many people here. Just couple of days before I explain this on one question here.

Good luck
...