May 13, 2014

SQLite

I got "unable to open database file" when trying to make changes in an SQLite database using PHP PDO.

Finally the real problem is:

If we have /path/name.db writable, it's NOT enough!
We have to make the container dir of database file (this case, /path/ ) be writable AS WELL.

Tricky! I guess SQLite need temporary space in this dir.

No comments:

Post a Comment

New comment