Usually, SQLITE_CANTOPEN error means you can't open the database file,
for example, the path is wrong, or you don't have correct permission
(read/write) to open the file, etc.
In addition, sqlite has to write xxx.journal file in the same folder
with the database file, so
you also need a write permission to the folder of your database files.
The error message "out of memory" is observed when the program fails
to find/open database files. Something strange about SQLite is it
returns such a message even if it's not actually running out of the
memory.
--
Taro L. Saito
<l...@xerial.org>
University of Tokyo
http://www.xerial.org/leo
Tel. +81-47-136-3985 (63985)
On Thu, Jun 24, 2010 at 2:27 AM, hgk <hko...@yahoo.com> wrote:
> SQLITE_CANTOPEN