提示:
Existing "SAMPLE" database found...
The "-force" option was not specified...
Attempt to create the database "SAMPLE" failed.
Existing "SAMPLE" database found...
The "-force" option was not specified...
Attempt to create the database "SAMPLE" failed.
SQL1005N 数据库别名 "SAMPLE" 已存在于本地数据库目录或系统数据库目录中。
解决方法:
在运行中 输入db2cmd
db2 uncatalog db sample
db2 terminate
db2 catalog db sample
db2 terminate
db2 drop db sample
然后进设置工具->第一步 重新安装sample即可
本文介绍了解决DB2中Sample数据库创建失败的问题步骤。通过一系列命令解除原有Sample数据库的注册并删除,最后重新安装Sample数据库来解决数据库别名已存在的错误。
1640

被折叠的 条评论
为什么被折叠?



