woshichuanqilz
V2EX  ›  数据库

sqlite 如何查看现在那个程序在连接某个数据库, 如何关闭现有的连接。

  •  
  •   woshichuanqilz · Feb 1, 2018 · 1314 views
    This topic created in 3092 days ago, the information mentioned may be changed or developed.

    我现在访问 sqlite 的一个数据库的时候提示 locked。

    但是又不知到那个程序在用着所以有没有好点的办法关闭现有的数据库连接?

    1 replies    2018-02-02 00:00:12 +08:00
    billlee
        1
    billlee  
       Feb 2, 2018
    lsof
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3160 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 12:19 · PVG 20:19 · LAX 05:19 · JFK 08:19
    ♥ Do have faith in what you're doing.