当前位置:网站首页>After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031
After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031
2022-07-28 23:57:00 【wxgnolux】
problem :oracle The server is used locally sqlplus It can be used sys As dba Log in , But with pl/sql Report when logging in ORA-01031 insufficient privileges error . Here's the picture .


The reason for this problem is , During database replication and migration , No corresponding password file . Under normal circumstances , There should be a corresponding database instance name in this directory orapwTST file ( At present, it is still the original orapwPRD).

Because the password remains unchanged , I'll rename it directly here .
mv orapwPRD orapwTST

Re in pl/sql Login is successful .
Further study :
1. Password files can be accessed through Tools orapwd produce

as follows I use the command to regenerate a password file
orapwd file=orapwTST password=pwd
The test can use the new password pwd Log in ( The password for remote login takes precedence over this file , Do not give priority to the account and password of the database itself )
2. If the password file exists correctly ,sqlplus Enquiries are as follows :

If the file doesn't exist ,sqlplus Enquiries are as follows :
边栏推荐
- 【C】替换空格,宏实现整数的二进制奇偶位交换
- 1-7 解决类中方法的this指向问题
- Equipped with a new generation of ultra safe cellular batteries, Sihao aipao is available from 139900 yuan
- fastdfs工作原理(技术原理)
- 实时数仓:网易严选基于Flink的实时数仓实践
- DoIP测试开发实践
- 商家对积分体系运营的两个误解
- 【C】喝汽水,找单身狗问题
- What is a driver signature and how does the driver get a digital signature?
- VS2005透过SourceOffSite访问VSS2005的设置方法「建议收藏」
猜你喜欢

Connection pool - return connection details (Part 2)

pycharm配置运行环境

Codeforces Round #810 (Div. 2) A - C

Hyperparametric optimization (grid search and Bayesian Optimization)

使用Pytorch快速训练网络模型

AUTOCAD——Excel表格导入CAD、CAD合并两兄弟

Leetcode59. 螺旋矩阵 II

Apple's official website is being updated to maintain the apple store. Products such as the iPhone 13 / pro of the Bank of China will enjoy a maximum discount of 600 yuan

Machine learning problem notes

The failure rate is as high as 80%. How to correctly complete the strategic planning of digital transformation?
随机推荐
EN 12101-8:2011 smoke dampers for smoke and heat control systems - CE certification
经典的拓扑排序问题——LeetCode207 课程表+LeetCode210 课程表II
电商数据模型设计
剑指 Offer 41. 数据流中的中位数
PowerCL 批量创建及管理虚拟交换机
1-7 解决类中方法的this指向问题
(22) two permutation (DP), package delivery (greedy)
【详细超简单】如何使用WebSocket链接
PHP 海报二维码合成
Jincang database kingbasees client programming interface guide ODBC (2. Overview)
The failure rate is as high as 80%. How to correctly complete the strategic planning of digital transformation?
GhostNets on Heterogeneous Devices via Cheap Operations
pycharm配置运行环境
pip镜像下载
Design idea of room inventory in hotel reservation system database
实时数仓:美团基于Flink的实时数仓建设实施
Zabbix 5.0 使用自带Redis模版监控
SAP oracle 复制新实例后数据库远程连接报错 ora-01031
leetcode 763. Partition Labels 划分字母区间(中等)
深度之眼(十八)——偏导数