Displaying 2 results from an estimated 2 matches for "sqlite_open_readonly".
2012 Apr 04
7
new rails project error
...ndeclared (first use in
this function)
database.c:47: error: (Each undeclared identifier is reported only once
database.c:47: error: for each function it appears in.)
database.c:47: error: ''SQLITE_OPEN_CREATE'' undeclared (first use in this
function)
database.c:79: error: ''SQLITE_OPEN_READONLY'' undeclared (first use in
this function)
database.c: In function ''set_sqlite3_func_result'':
database.c:285: error: ''sqlite3_int64'' undeclared (first use in this
function)
make: *** [database.o] Error 1
Gem files will remain installed in
/usr/local/ruby/...
2016 Feb 24
2
SQLite driver and auth-worker credentials
I want to use SQLite database as storage for auth and user databases.
I've encountered two problems here:
(1) There is no way to open SQLite database read-only (via
sqlite3_open_v2() call with SQLITE_OPEN_READONLY flag). It looks bad. I
don't need (and want) to give dovecot rights to write to this database.
(2) I've created system group "hostingdb", added "dovecot" user to it
and gives 660 rights to database file, but still "auth-worker" could not
open database and com...