Nov-05-2020, 05:17 AM
You're only ever looking for the database in the current directory. If it doesn't exist there, I assume it's being created and so of course doesn't have your schema (because there's nothing in the code to do that). Why don't you pass the path to where the database lives?