I used xampp server ( Apache + MariaDB + PHP + Perl ) from the link
https://www.apachefriends.org/index.html, later i come to know that Mysql is required rather than MariaDB.
So I installed Mysql from the site
https://dev.mysql.com/downloads/mysql/
Still same problem, So i remove xampp, and install Apache,Php and Mysql from the guidlines in the link
https://freelancedev.tech/how-to-setup-apache-php-and-mysql-on-windows-10/
after that i installed phpmyadmin too for my convinience, then try to install q2a, but still the same error i'm getting.
I'm only renaming, changing user credentials and database in qa-config.php file, nothing else i'm doing.
I also checked whether the given user able to create tables or not in the database by using phpmyadmin - Yes, it's creating new tables.
Finally, I'm moving into Linux instead of windows in coming days.