Here is the configuration in qa-config.php:
define('QA_MYSQL_HOSTNAME', '127.0.0.1');
define('QA_MYSQL_USERNAME', 'root');
define('QA_MYSQL_PASSWORD', '*******');
define('QA_MYSQL_DATABASE', 'demo');
Is there anything else that needs to be set?
I haven't installed Q2A before, so I'm not sure, shouldn't it show a setup page before trying to create the tables?
In my setup connecting to Q2A shows the error straight away.