1. 程式人生 > >oracle刪除資料庫,提示ora-01031:許可權不足

oracle刪除資料庫,提示ora-01031:許可權不足

用system管理員身份刪除資料庫,總是提示許可權不足,如下圖所示
這裡寫圖片描述

用如下兩部解決了問題,特此記錄一下
1.找到sqlnet.ora,我本地的目錄在
E:\app\sunpi\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
新增一句程式碼在sqlnet.ora中
SQLNET.AUTHENTICATION_SERVICES=(NTS)
新增後內容如下

# sqlnet.ora Network Configuration File: E:\app\sunpi\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration
tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) SQLNET.AUTHENTICATION_SERVICES=(NTS) ADR_BASE = E:\app\sunpi\product\11.2
.0\dbhome_1\log

2.檢查登陸windows的使用者(administrator或安裝oracle時候使用的使用者)是不是在包含在ORA_DBA組中,域使用者沒有連上域伺服器時就可能出現這種現象。
新增使用者到使用者組中
這裡寫圖片描述
新增使用者
這裡寫圖片描述
選擇當前使用的使用者,即登入oracle時所用的window使用者
這裡寫圖片描述
然後一路反向確定即可
管理程式,再次解除安裝
叮鈴~~~~~~~~~OK!
我的用了這兩個步驟解決了這個問題,再次記錄,作為筆記