D:\Documents and Settings\Administrator>db2 connect to sample
SQL1116N 因为 BACKUP PENDING,所以不能连接或激活数据库 "SAMPLE"。
SQLSTATE=57019
经过查了一番资料,才知道现在要马上做一下备份:
D:\Documents and Settings\Administrator>db2 backup db sample
备份成功。此备份映像的时间戳记是:20080604112950
再次测试,问题解决:
D:\Documents and Settings\Administrator>db2 connect to sample
数据库连接信息
数据库服务器 = DB2/NT 9.5.0
SQL 授权标识 = ADMINIST...
本地数据库别名 = SAMPLE
编辑特别推荐:
oracle认证考试费用
Oracle的入门心得
使用Oracle外部表的五个限制
Java代码 [收藏代码]db2 => connect to SAMPLESQL1032N No start database manager command was issued. SQLSTATE=57019
db2 => quit
DB20000I The QUIT command completed successfully.
[db2inst1@server1 ~]$ db2 ? 57019
SQLSTATE 57019: The statement was not successful, because of a problem with a
resource.
[db2inst1@server1 ~]$ db2start
SQL1063N DB2START processing was successful.
[db2inst1@server1 ~]$ db2 connect to sample
Database Connection Information
Database server = DB2/LINUX 9.5.2
SQL authorization ID = DB2INST1
Local database alias = SAMPLE
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)