简体   繁体   English

android sqlite3数据库被锁定

[英]android sqlite3 database is locked

When running sqlite3 on my android emulator's database, I tried to run select * from mytable where id = 4 , but I got database is locked . 在Android模拟器的数据库上运行sqlite3时,我尝试select * from mytable where id = 4运行select * from mytable where id = 4 ,但database is locked

I was able to access it earlier today. 我今天早些时候可以访问它。 I'm sure it's the database that my emulator is currently running. 我确定这是我的模拟器当前正在运行的数据库。

Wait for the process that is using it to finish. 等待使用它的过程完成。 It's locked because some operation is synchronized. 由于某些操作已同步,因此已被锁定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM