Mysql database error could be because of your hosting server. It doesn't mean your q2a mysql has any issues. first look into this.
If you still want to reinstall site then take backup of mysql db and import into new db. Modify credentials in qa-config.php file and your site should work.