无法删除现有的 db2 数据库

无法删除现有的 db2 数据库

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从系统中获取数据库,有什么建议吗?

答案1

尝试这个:

db2 uncatalog database M

相关内容