Each and every folder added to Sync is associated with a database containing all the information about the folder and its contents. Database files are located in Sync's storage folder.
If this error appears right after you add the folder, most likely Sync was not even able to create database due to lack of write permissions in storage folder, recheck that in first place.
If the error appears in the course of using Sync, a data fragment from the DB file gets corrupt and can’t be read properly, the database driver fails to provide access to the data source and thus database error pops up. To avoid incorrect file updates, Sync will suspend synchronization of the folder whose DB is corrupted, whereas the rest of the folders should continue syncing as before.
This problem may be caused by Sync shutting down incorrectly, which, in its turn, can be the result of a system/application crash or an improper/forced shutdown. Another possibilities are: a damaged disk sector, virus, or some other s/w that might be accessing the files. Run disk check, antivirus scan.
The fixing options for the issue:
1) Try quitting and then restarting Sync,
2) If it doesn't help, and only one peer shows the error, try disconnecting (but not removing!) the share in Sync UI on this peer, and then re-connecting it again to the same destination folder. If only the local database is affected, that should help, since it re-creates the local database of the share,
3) If it doesn't help or the error for the same share is present on more than one peer -- re-add the shared folder to Sync (prior to that, be sure to disconnect and remove the folder from the program on all peers).
If you have linked devices, see this guide on how to properly proceed with re-adding.
If this error persists after re-adding of the share, please, send debug logs to support team though "Help -> Contact Support" menu in Sync app, or collect debug logs manually from peers affected and send them though the web form.