您的位置:首页 > 数据库

SQL error: attempt to write a readonly database

2015-06-26 12:10 513 查看
http://stackoverflow.com/questions/1518729/how-to-change-sqlite-database-mode

There can be several reasons for this error message:

1.Several processes have the database open at the same time (see the FAQ).(多个进程同时访问数据库)

2.There is a plugin to compress and encrypt the database. It doesn’t allow to modify the DB.

3.Lastly, another FAQ says: “Make sure that the directory containing the database file is also writable to the user executing the CGI script.” I think this is because the engine needs to create more files in the directory.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  sql