[20181107]低版本toad连接18c数据库问题.txt --//同事使用低版本toad连接18c遇到的问题,无法连接.实际上该版本toad使用10.2.0的oracle client. 根据MOS文档 (ID 755605.1),ORA-28040的错误需要在Oracle 用户(非grid用户)的sqlnet.ora 文件中添加: SQLNET.ALLOWED_LOGON_VERSION=8 或者使用更高版本的客户端。 但实际上,根据MOS文档(ID 2111876.1), 在Oracle 12c 以后的版本, SQLNET.ALLOWED_LOGON_VERSION 参数已经弃用了,应该使用以下2个参数代替: SQLNET.ALLOWED_LOGON_VERSION_SERVER = n SQLNET.ALLOWED_LOGON_VERSION_CLIENT = n --//修改数据库的sqlnet.ora文件加入: SQLNET.ALLOWED_LOGON_VERSION_SERVER = 10 SQLNET.ALLOWED_LOGON_VERSION_CLIENT = 10 --//尝试连接报ora-1017错误,密码肯定没有问题,检查视图发现: XXXX> select username,password_versions from dba_users; USERNAME PASSWORD_VERSIONS ------------------------------ ---------------------------------- SYS 11G 12C SYSTEM 11G 12C ... --//可以发现PASSWORD_VERSIONS没有包括10g. XXXX> alter user system identified by xxxx; alter user system identified by xxxx * ERROR at line 1: ORA-65066: The specified changes must apply to all containers --//自己终于知道为什么修改system密码为什么必须应用全部containers.链接如下:https://community.oracle.com/thread/3786063 All Oracle-supplied administrative user accounts, such as SYS and SYSTEM, are common users and can navigate across the CDB. Common users can have different privileges in different PDBs. For example, the common user SYSTEM can switch between PDBs and use the privileges that are granted to SYSTEM in the current PDB. . . . If you plug a PDB that contains a common user into a CDB, then the following actions take place: The common user accounts in this PDB lose commonly granted privileges that they may have had, including the SET CONTAINER privilege. If the target CDB has a common user with the same name as a common user in a newly plugged-in PDB, then the new common user is merged with the target CDB common user. The password of the target CDB common user takes precedence. See that last sentence? As others, and the doc, say a common user is COMMON. The standard users SYS and SYSTEM are common users so only have one password. --//登录cdb数据库,执行如下ok. alter user SYSTEM identified by xxxx container=all; --//不过有点奇怪的是 CDB> select username,password_versions from dba_users; USERNAME PASSWORD_VERSIONS ------------------------------ ---------------------------------- SYS 11G 12C SYSTEM 10G 11G 12C --//而PDB下显示的依旧不包括10g. CDB> select username,password_versions from dba_users; USERNAME PASSWORD_VERSIONS ------------------------------ ---------------------------------- SYS 11G 12C SYSTEM 11G 12C --//另外注意的问题,比如我当前的client端是12c版本.如果我执行alter user SYSTEM identified by xxxx container=all;,口令版本 --//一样无效,不会包括10g,必须修改我的sqlnet.ora文件加入: SQLNET.ALLOWED_LOGON_VERSION_SERVER=10 SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10 --//再登录数据库修改口令才会生效.
[20181107]低版本toad连接18c数据库问题.txt
来源:这里教程网
时间:2026-03-03 12:11:00
作者:
编辑推荐:
- [20181107]低版本toad连接18c数据库问题.txt03-03
- word目录生成自动怎么设置03-03
- word下划线如何去掉03-03
- [20181107]18c新特性取消运行的sql.txt03-03
- [20181107]18c set feedback显示sql_id.txt03-03
- word2007如何显示word文档的格式03-03
- word无法编辑怎么办03-03
- db file scattered read等待事件03-03
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- db file scattered read等待事件
db file scattered read等待事件
26-03-03 - hanlp 如何快速从分词仅取出人名
hanlp 如何快速从分词仅取出人名
26-03-03 - 一半都是中国玩家?Steam 平台 2026 年 2 月硬件统计:RTX 5070 首夺第一,32GB 内存占比飙升至 57%
- oracle权限
oracle权限
26-03-03 - word图片文字如何设置
word图片文字如何设置
26-03-03 - linux vdo验证 oracle asm diskgroup sector_size 4096 udev asmlib
- 《魔兽世界:至暗之夜》DLC 上线,微星发布联名限量 RTX 5070 显卡
- 西山居 3D 射击游戏《尘白禁区》发布停机维护公告,开服时间暂未公布
西山居 3D 射击游戏《尘白禁区》发布停机维护公告,开服时间暂未公布
26-03-03 - oraclePL/SQL与存储过程,函数
oraclePL/SQL与存储过程,函数
26-03-03 - oracle角色
oracle角色
26-03-03
