成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

DB2數(shù)據(jù)庫(kù)中安裝sample數(shù)據(jù)庫(kù)與TOLLSDB的步驟描述

數(shù)據(jù)庫(kù)
下面的文章主要介紹的是在DB2數(shù)據(jù)庫(kù)中安裝sample數(shù)據(jù)庫(kù)與TOLLSDB數(shù)據(jù)庫(kù)的正確操作流程,以下就是文章的主要內(nèi)容的介紹。

此文章主要講述的是在DB2數(shù)據(jù)庫(kù)中安裝sample數(shù)據(jù)庫(kù)與TOLLSDB數(shù)據(jù)庫(kù)的正確操作步驟,以及對(duì)安裝sample數(shù)據(jù)庫(kù)與TOLLSDB數(shù)據(jù)庫(kù)是我的小的細(xì)節(jié)操作的介紹,以下就是文章的主要內(nèi)容講述。

數(shù)據(jù)庫(kù), sample, TOLLSDB數(shù)據(jù)庫(kù), sample, TOLLSDB

 

安裝示例數(shù)據(jù)庫(kù)和TOOLSDB數(shù)據(jù)庫(kù):

 

安裝完成后,欲登陸sample數(shù)據(jù)庫(kù)和toolsdb,發(fā)現(xiàn)出錯(cuò):

  1. db2 => connect to sample  
  2. SQL1031N The database directory cannot be found on the indicated file system.  
  3. db2 => connect to toolsdb  
  4. SQL1031N The database directory cannot be found on the indicated file system.  

1、 猜想DB2數(shù)據(jù)庫(kù)未安裝,查看/hom/db2inst1目錄下的,僅有sqllib文件夾:

  1. [db2inst1@localhost ~]$ ls  
  2. sqllib  

對(duì)比下其他學(xué)員的情況,發(fā)現(xiàn)本人的服務(wù)器上少了一個(gè)db2inst1目錄:

  1. [db2inst1@localhost ~]$ ls  
  2. db2inst1 sqllib  

2、下面手動(dòng)對(duì)兩個(gè)數(shù)據(jù)庫(kù)進(jìn)行創(chuàng)建:

2.1、創(chuàng)建示例數(shù)據(jù)庫(kù):

  1. [db2inst1@localhost ~]$ db2sampl  
  2. Creating database "SAMPLE"...  
  3. Connecting to database "SAMPLE"...  
  4. Creating tables and data in schema "DB2INST1"...  
  5. Creating tables with XML columns and XML data in schema "DB2INST1"...  
  6. 'db2sampl' processing complete.  

2.2、創(chuàng)建toolsbd數(shù)據(jù)庫(kù):

  1. [db2inst1@localhost NODE0000]$ db2 create tools catalog systools create new database toolsdb  
  2. DB20000I The CREATE TOOLS CATALOG command completed successfully.  

2.3、確認(rèn)相應(yīng)DB2數(shù)據(jù)庫(kù)文件創(chuàng)建的情況:

  1. [db2inst1@localhost NODE0000]$ cd  
  2. [db2inst1@localhost ~]$ ls  
  3. db2inst1 sqllib  
  4. [db2inst1@localhost ~]$ cd db2inst1/  
  5. [db2inst1@localhost db2inst1]$ ls  
  6. NODE0000  
  7. [db2inst1@localhost db2inst1]$ cd NODE0000/  
  8. [db2inst1@localhost NODE0000]$ ls  
  9. SAMPLE SQL00001 SQL00002 sqldbdir TOOLSDB  

2.4、登陸數(shù)據(jù)庫(kù)。首先登陸到sample,然后斷開與該數(shù)據(jù)庫(kù)的連接,再連接到toolsdb:

  1. [db2inst1@localhost NODE0000]$ db2  
  2. (c) Copyright IBM Corporation 1993,2007  
  3. Command Line Processor for DB2 Client 9.7.1  
  4. You can issue database manager commands and SQL statements from the command  
  5. prompt. For example:  
  6. db2 => connect to sample  
  7. db2 => bind sample.bnd  
  8. For general help, type: ?.  
  9. For command help, type: ? command, where command can be  
  10. the first few keywords of a database manager command. For example:  
  11. ? CATALOG DATABASE for help on the CATALOG DATABASE command  
  12. ? CATALOG for help on all of the CATALOG commands.  
  13. To exit db2 interactive mode, type QUIT at the command prompt. Outside  
  14. interactive mode, all commands must be prefixed with 'db2'.  
  15. To list the current command option settings, type LIST COMMAND OPTIONS.  
  16. For more detailed help, refer to the Online Reference Manual.  
  17. db2 => connect to sample  
  18. Database Connection Information  
  19. Database server = DB2/LINUX 9.7.1  
  20. SQL authorization ID = DB2INST1 
  21. Local database alias = SAMPLE 
  22. db2 => disconnect sample  
  23. DB20000I The SQL DISCONNECT command completed successfully.  
  24. db2 => connect to toolsdb  
  25. Database Connection Information  
  26. Database server = DB2/LINUX 9.7.1  
  27. SQL authorization ID = DB2INST1 
  28. Local database alias = TOOLSDB   

 

以上的相關(guān)內(nèi)容就是對(duì)DB2數(shù)據(jù)庫(kù)中安裝sample數(shù)據(jù)庫(kù)和TOLLSDB數(shù)據(jù)庫(kù)的介紹,望你能有所收獲。

 

責(zé)任編輯:佚名 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-07-23 08:42:00

TOLLSDBDB2

2010-08-26 16:00:31

DB2數(shù)據(jù)庫(kù)安裝

2011-03-11 16:02:03

DB2數(shù)據(jù)庫(kù)安裝

2010-08-18 17:32:34

DB2數(shù)據(jù)庫(kù)

2010-08-17 16:24:32

IBM DB2數(shù)據(jù)庫(kù)

2010-08-13 15:42:22

DB2數(shù)據(jù)庫(kù)分區(qū)

2010-08-04 15:59:29

2010-08-11 12:43:45

DB2數(shù)據(jù)庫(kù)調(diào)優(yōu)

2010-08-04 13:37:43

2010-08-03 14:40:05

DB2數(shù)據(jù)庫(kù)

2010-08-16 14:45:15

DB2數(shù)據(jù)庫(kù)

2010-08-06 09:39:27

DB2數(shù)據(jù)庫(kù)分區(qū)

2010-08-04 13:30:49

2010-08-11 14:32:55

DB2數(shù)據(jù)庫(kù)調(diào)優(yōu)

2010-09-01 15:23:59

DB2字段類型

2010-08-12 10:27:21

DB2數(shù)據(jù)庫(kù)備份

2010-07-27 14:33:24

DB2數(shù)據(jù)庫(kù)

2010-08-02 08:40:43

DB2數(shù)據(jù)庫(kù)性能

2010-08-18 15:42:33

2011-03-15 11:19:45

DB2數(shù)據(jù)庫(kù)catalog
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)

主站蜘蛛池模板: 免费观看一级特黄欧美大片 | 久久这里只有精品首页 | 亚洲视频在线看 | 自拍偷拍第一页 | 97人人澡人人爽91综合色 | 久久av一区二区三区 | 久久精品亚洲一区二区三区浴池 | 欧美一二区 | 九九亚洲精品 | 97超级碰碰 | 国产一级片| 日本精品视频一区二区 | 伊人久久大香线 | 日韩在线视频精品 | 日本a v在线播放 | 亚洲一区二区av | 视频在线亚洲 | 亚洲欧美日韩精品久久亚洲区 | 免费天天干 | 视频在线观看一区 | 成人性生交大片 | 欧美www在线观看 | 人人澡人人爱 | 亚洲91精品 | 亚洲精品黄色 | 亚洲电影免费 | 一区二区视频 | 91正在播放 | 激情av网站 | 亚洲乱码国产乱码精品精的特点 | 亚洲一区二区成人 | 欧美日韩精品一区二区三区四区 | 成年女人免费v片 | 中文字幕91 | www.色53色.com | 狠狠干在线 | 毛片免费在线观看 | 狠狠干网| 中文字幕一区二区三区精彩视频 | 国产一级在线 | 成人特级毛片 |