久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <i id='3aw9Q'><tr id='3aw9Q'><dt id='3aw9Q'><q id='3aw9Q'><span id='3aw9Q'><b id='3aw9Q'><form id='3aw9Q'><ins id='3aw9Q'></ins><ul id='3aw9Q'></ul><sub id='3aw9Q'></sub></form><legend id='3aw9Q'></legend><bdo id='3aw9Q'><pre id='3aw9Q'><center id='3aw9Q'></center></pre></bdo></b><th id='3aw9Q'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3aw9Q'><tfoot id='3aw9Q'></tfoot><dl id='3aw9Q'><fieldset id='3aw9Q'></fieldset></dl></div>

    <small id='3aw9Q'></small><noframes id='3aw9Q'>

    <tfoot id='3aw9Q'></tfoot>

    • <bdo id='3aw9Q'></bdo><ul id='3aw9Q'></ul>

      <legend id='3aw9Q'><style id='3aw9Q'><dir id='3aw9Q'><q id='3aw9Q'></q></dir></style></legend>

      1. 為機器登錄用戶以外的特定用戶運行創建/刪除

        Run create/drop DB2 database commands for a specific user other than machine logged-in user(為機器登錄用戶以外的特定用戶運行創建/刪除 DB2 數據庫命令)
        • <small id='4eF2y'></small><noframes id='4eF2y'>

          <tfoot id='4eF2y'></tfoot>
            • <bdo id='4eF2y'></bdo><ul id='4eF2y'></ul>

                <i id='4eF2y'><tr id='4eF2y'><dt id='4eF2y'><q id='4eF2y'><span id='4eF2y'><b id='4eF2y'><form id='4eF2y'><ins id='4eF2y'></ins><ul id='4eF2y'></ul><sub id='4eF2y'></sub></form><legend id='4eF2y'></legend><bdo id='4eF2y'><pre id='4eF2y'><center id='4eF2y'></center></pre></bdo></b><th id='4eF2y'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4eF2y'><tfoot id='4eF2y'></tfoot><dl id='4eF2y'><fieldset id='4eF2y'></fieldset></dl></div>
                  <tbody id='4eF2y'></tbody>
                1. <legend id='4eF2y'><style id='4eF2y'><dir id='4eF2y'><q id='4eF2y'></q></dir></style></legend>

                  本文介紹了為機器登錄用戶以外的特定用戶運行創建/刪除 DB2 數據庫命令的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  db2 CREATE DATABASE XYZ
                  
                  db2 DROP   DATABASE XYZ
                  

                  這些 db2 命令不支持在 db2cmd/db2clp 上為機器登錄用戶以外的特定用戶執行時指定用戶名/密碼.因此導致異常

                  These db2 commands which doesn't provide support to specify username/password while executing on db2cmd/db2clp for a specific user other than machine logged-in user. Hence result a exception

                  SQL1092N 請求的命令或操作失敗,因為用戶標識沒有執行請求的命令或操作的權限."

                  "SQL1092N The requested command or operation failed because the user ID does not have the authority to perform the requested command or operation."

                  當通過選擇以不同用戶身份運行"來運行相同的命令時,它可以正常工作.

                  And when the same commands run as by choosing 'Run as different user', it works properly.

                  1. 但我需要使用 Java 代碼中的相同機制,但不知道如何使用.是否可以以不同的用戶表單 Java 代碼打開已安裝的 db2 的 clp??
                  2. 是否可以在創建/刪除命令中關聯用戶名/密碼?

                  推薦答案

                  在 CLP 中,您可以首先使用所需的任何用戶 ID ATTACH 到實例,然后發出 CREATE DATABASE 命令.

                  From the CLP you can first ATTACH to the instance using whatever user ID you need, and then issue the CREATE DATABASE command.

                  如果實例在您的本地機器上運行,您只需像這樣附加:

                  If the instance is running on your local machine, you just attach like this:

                  $ db2 attach to db2inst1 user db2inst1
                  Enter current password for db2inst1: 
                  
                     Instance Attachment Information
                  
                   Instance server        = DB2/LINUXX8664 9.7.5
                   Authorization ID       = DB2INST1
                   Local instance alias   = DB2INST1
                  

                  如果實例在遠程服務器上運行,則附加到您在數據庫目錄中定義的節點名稱":

                  If the instance is running on a remote server, you attach to the "node name" that you have defined in your database catalog:

                  $ db2 list db directory
                  
                   System Database Directory
                  
                   Number of entries in the directory = 1
                  
                  Database 1 entry:
                  
                   Database alias                       = SAMPLE
                   Database name                        = SAMPLE
                   Node name                            = SRV01
                   Database release level               = d.00
                   Comment                              =
                   Directory entry type                 = Remote
                   Catalog database partition number    = -1
                   Alternate server hostname            =
                   Alternate server port number         =
                  

                  在本例中,list database directory 的輸出中顯示的節點名稱為 SRV01,因此您可以使用以下命令進行附加:db2 attach to srv01 user <用戶名>.

                  In this example, the Node Name shown in the output from list database directory is SRV01, so you would attach using: db2 attach to srv01 user <username>.

                  這篇關于為機器登錄用戶以外的特定用戶運行創建/刪除 DB2 數據庫命令的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                  How to convert Integer to int?(如何將整數轉換為整數?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)
                  • <bdo id='EXGpB'></bdo><ul id='EXGpB'></ul>
                    <i id='EXGpB'><tr id='EXGpB'><dt id='EXGpB'><q id='EXGpB'><span id='EXGpB'><b id='EXGpB'><form id='EXGpB'><ins id='EXGpB'></ins><ul id='EXGpB'></ul><sub id='EXGpB'></sub></form><legend id='EXGpB'></legend><bdo id='EXGpB'><pre id='EXGpB'><center id='EXGpB'></center></pre></bdo></b><th id='EXGpB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='EXGpB'><tfoot id='EXGpB'></tfoot><dl id='EXGpB'><fieldset id='EXGpB'></fieldset></dl></div>

                    1. <tfoot id='EXGpB'></tfoot>

                      <small id='EXGpB'></small><noframes id='EXGpB'>

                          <tbody id='EXGpB'></tbody>

                          <legend id='EXGpB'><style id='EXGpB'><dir id='EXGpB'><q id='EXGpB'></q></dir></style></legend>
                            主站蜘蛛池模板: 午夜视频免费在线观看 | 天天干天天想 | 青青草国产在线观看 | 国产成人精品一区二区三区四区 | 精品国产乱码久久久久久图片 | 亚洲欧美激情精品一区二区 | 中文字幕在线一 | 欧美性大战xxxxx久久久 | 精品久久国产老人久久综合 | 亚洲日本中文字幕在线 | 中国大陆高清aⅴ毛片 | 久久久久国产 | h视频免费观看 | 日韩欧美手机在线 | 国产成人一区二区三区电影 | 免费在线观看成人 | 亚洲情综合五月天 | 国产精品视频一区二区三区四蜜臂 | 久久久日韩精品一区二区三区 | 久久r久久 | www.天天操.com| 日日爱视频| 一级做a爰片性色毛片16 | 亚洲综合色婷婷 | 日韩中文字幕 | 日本人和亚洲人zjzjhd | 久久精品免费观看 | 久久国产欧美日韩精品 | 极品国产视频 | 国产偷录视频叫床高潮对白 | 日韩精品在线观看免费 | 99精品视频一区二区三区 | 国产一区二区在线91 | 中文字幕在线观看国产 | 在线黄av | 亚洲高清成人在线 | 日韩成人av在线 | 亚洲成人自拍 | 成人精品鲁一区一区二区 | 国产亚洲欧美另类一区二区三区 | 久久久久99 |