这是一个创建于 4912 天前的主题,其中的信息可能已经有所发展或是发生改变。
"When a process wants to change a database file (and it is not in WAL mode), it first records the original unchanged database content in a rollback journal. The rollback journal is an ordinary disk file that is always located in the same directory or folder as the database file and has the same name as the database file with the addition of a -journal suffix. The rollback journal also records the initial size of the database so that if the database file grows it can be truncated back to its original size on a rollback."
所以呢, 如果文件所在的目用限, journal文件法建, 就法入了.
在Python sqlite3 Package中, 出一有性的Error:
OperationalError: unable to open database file
然而真正的原因不是法打文件, 而是法建日文件.
被折了半天...