What are the rules about concurrently accessing a persistent database

Something worth noting is that SQLite has issues with locking when stored on NFS-like volumes (vboxsf, NFS, SMB, mvfs, etc.) on many systems which cause SQLite to give that error even before you’ve successfully opened the database. These volumes may implement fcntl() read/write locks incorrectly. ( http://www.sqlite.org/faq.html#q5 ) Assuming that’s not the issue, it’s also … Read more

How to use a path relative to project root to H2 db-file configuration with Play Framework 2.4?

Ok, I did a little research and found this in the changelog (http://www.h2database.com/html/changelog.html): Implicit relative paths are disabled (system property “h2.implicitRelativePath”), so that the database URL jdbc:h2:test now needs to be written as jdbc:h2:./test. In H2 starting from version 1.4.177 Beta, implicit relative paths are not allowed anymore. Therefore, in your case the url should … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)