Db2

無法刪除現有的 db2 數據庫

  • June 2, 2011

db2 list database directory給我

Database 1 entry:

Database alias                       = M
Database name                        = M
Local database directory             = /var/lib/edumate/database
Database release level               = d.00
Comment                              =
Directory entry type                 = Indirect
Catalog database partition number    = 0
Alternate server hostname            =
Alternate server port number         =

嗚嗚嗚

db2 drop database M給我

SQL1013N  The database alias name or database name "M       " could not be 
found.  SQLSTATE=42705

並且/var/lib/edumate/database/db2inst1/NODE0000沒有M目錄

關於如何remove從系統中獲取數據庫 m 的任何建議?

試試這個:

db2 uncatalog database M

引用自:https://serverfault.com/questions/270830