当前位置:网站首页>ORA-01017
ORA-01017
2022-06-09 01:03:00 【Drunken Xiaobai】
problem
01017, 00000, "invalid username/password; logon denied"
// *Cause:
// *Action:
screening 1 - Confirm that the account and password are correct ( Reset password )
alter user Account identified by password ;
screening 2 – Case sensitive
show parameter case
screening 3 – Check monitor
lsnrctl status
listener.ora
Positioning reason : It needs to be configured as $ORACLE_HOME
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl) #show parameter service
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/dbhome_1) # echo $ORACLE_HOME
(SID_NAME = orcl) # show parameter name
)
)
GLOBAL_DATABASE_NAME:
①GLOBAL_DATABASE_NAME yes listener Configured external network connection name , It could be any value
② Configure listening on the client side tnsnames.ora In the document service_name With this GLOBAL_DBNAME Just be consistent
③ When configuring static listening registration , Need to enter SID and GLOBAL_NAME
DB_NAME:
① It's the database name , The length cannot exceed 8 Characters , Recorded in the datafile、redolog and control file in
② stay DataGuard Environment DB_NAME Same as DB_UNIQUE_NAME Different
③ stay RAC Environment , Of each node DB_NAME All the same , however INSTANCE_NAME Different
④DB_NAME It also works when dynamically registering for monitoring , Whether defined or not SERVICE_NAME,PMON All processes will use DB_NAME Dynamic registration monitoring
DBID:
①DBID You can view it as DB_NAME Representation inside the database , It is used when the database is created DB_NAME Combined with the algorithm
② It exists in datafile and control file in , Used to indicate the ownership of a data file , therefore DBID Is the only one. , For different databases ,DB_NAME It could be the same , however DBID It must be unique , For example, in DataGuard in , The main and backup libraries are DB_NAME identical , however DBID It must be different ( I've seen a very vivid example , That is, there can be people with the same name , But the ID number must be different )
DB_UNIQUE_NAME:
① stay DataGuard in , The primary and secondary libraries have the same DB_NAME, To distinguish , It has to be different DB_UNIQUE_NAME
②DB_UNIQUE_NAME stay DG Will affect the dynamic registration of SERVICE_NAME, That is, if dynamic registration is used , Then registered SERVICE_NAME by DB_UNIQUE_NAME, But the example is still INSTANCE_NAME, namely SID
INSTANCE_NAME:
① The name of the database instance ,INSTANCE_NAME The default value is SID, In general, the name of the database and (DB_NAME) identical , It can be different
②initSID.ora and orapwSID The file should be consistent with INSTANCE_NAME bring into correspondence with
③INSTANCE_NAME Will affect the name of the process
SID:
① Is an environment variable in the operating system , and ORACLE_HOME,ORACLE_BASE The usage is the same
② In the operating system, to get the instance name , Must use ORACLE_SID. And ORACLE_SID Must be with INSTANCE_NAME The value is consistent.
SERVICE_NAME:
① The service name used to connect the database to the client
② stay DataGuard in , If dynamic registration is used , It is recommended to use the same service_names
③ stay DataGuard in , If you use static registration , It is suggested that listener Enter the same service name in (service_name)
④ If static registration is used , that SERVICE_NAME Is equal to Listener.ora In the document GLOBAL_DATABASE_NAME Value
screening 4 – View parameters
show parameter remote_login_passwordfile
边栏推荐
- STM32F1xx + uGUI的页面栈管理
- Svg web animation Halloween night
- MySQL tutorial (basic part) Part 04: differences between mysqld and MySQL commands
- H264 authorization fee
- 一枚笑脸 emoji,估值 20 亿美元!这个开源项目有点强...
- Log exception detection - machine learning
- GoEasy小程序即时通讯源码 v1.1.0/基于GoEasy提供的websocket通讯服务
- Tencent cloud applies for free SSL certificate
- 並發性能測試的種類與指標
- Lancher single node deployment and certificate problem -- the way to build a dream
猜你喜欢

Infotnews | will Apple launch its NFT at the developer conference?

Treatment of data file damage caused by magnetic array failure in a project site

Application practice | real time data warehouse construction of Wuyi Yuntong based on Apache Doris

GPU rendering pipeline and hardware architecture

Mongodb usage details_ 4_ Details of common aggregation operations

A life and death journey of 2000+ orders on the same day when there is no supply of idle fish!

关于Oracle数据库字符集的选择及乱码情况

Flat login form page

MySQL 教程(基础篇)第04话:mysqld 和 mysql 命令的区别

Page stack management of stm32f1xx + ugui
随机推荐
ffmepg.spec 文件 —— 筑梦之路
Can I turn on the air conditioner
GO语言-goto关键字
FATFS(X):讀寫多字節(字)
leetcode:剑指 Offer 48. 最长不含重复字符的子字符串【双指针】
Detailed explanation of initial order of pointer
Realbasicvsr source code analysis
Advanced extensible interface (Axi)
Page stack management of stm32f1xx + ugui
Goeasy applet instant messaging source v1.1.0/ based on websocket communication service provided by goeasy
【牛客网SQL篇】SQL必知必会
USDD重磅升级,成Web3.0价值之锚
FATFS(X):读写多字节(字)
Go language loop statement -for loop
[tcp/ip] triple handshake process and causes
並發性能測試的種類與指標
Types et indices d'essais de performance simultanés
Kusionstack has a sense of open source | it took two years to break the dilemma of "separating lines like mountains"
实现多线程的方法到底有1种还是2种还是4种?
2022-06-08:找到非负数组中拥有“最大或的结果“的最短子数组,返回最短长度。