就得重新打開數據?
如果沒有其他資源占用表資源的話,數據庫會自動釋放鎖,MySQL解鎖命令是: show processlist;找到鎖進程,kill id ;Oracle 解鎖命令是: SELECT s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,s.terminal, s.logon_time, l.typeFROM v$session s, v$lock lWHERE s.sid = l.sidAND s.username IS NOT NULLORDER BY sid;--殺掉進程 sid,serial#alter system kill session sid,serial#;