2 Answers

May be mistaken QA_MYSQL_USERNAME and QA_MYSQL_PASSWORD in qa-config.php. Default settings in XAMPP is blow.

QA_MYSQL_USERNAME: "root"

QA_MYSQL_PASSWORD: "" (blank)

Common installation mistakes are below.

QA_MYSQL_HOSTNAME
> If Database(MySQL) exists on the same hardware with web server, you should specify "localhost". However, if Database (MySQL) is on a different hardware from web server, you should specify specific IP address. It seems that you are using XAMPP on your PC, so probably "localhost" is correct.

QA_MYSQL_USERNAME and QA_MYSQL_PASSWORD
> These are ID and password for connecting to the database. It is different from user handle and password of apache user and initial Q2A administrator. Default ID of XAMPP is "root". Default password is "" (blank). If you had change password of root user, you need to specify it's password. If you add a new connection user with phpMyAdmin, you need to give all the privileges to that user with phpMyAdmin.

QA_MYSQL_DATABASE
> Specify database name which you created with phpMyAdmin.