You're showing wrong part of your code.
Error is generated by the part that executes a query not sets up the database.
You're probably not using connection name there.
When creating the query you have to specify which connection you want to use:
otherwise it will fall back on the default name and fail.Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks