"Drush was unable to query the database" tells you that your issue isn't a missing table, but a configuration issue.
You do need to start with an empty but working D8 site before you try running the migration. I'm thinking you didn't initialize your site after downloading the code with composer?
To be clearer: composer is a tool for managing code, not for ...
First , Check Administrator -> Configuration -> Media -> File System to personalize your tmp path. Make sure to use relative paths and have the right privileges for your webserver.
After than Check permission of the /sites/default/files and make sure it's writeable by your web server.