文档解释 ORA-29475: useLoGonRoles=>TRUE not permitted with userid=>NULL Cause: An unsupported combination of argument
ORA-29475: useLoGonRoles=>TRUE not permitted with userid=>NULL
Cause: An unsupported combination of argument values was present in a call to DBMS_SYS_sql.PARSE_AS_USER.
Action: Specify a valid combination of argument values.
ORA-29475: useLogonRoles=>TRUE not permitted with userid=>NULL 意味着把useLogonRoles设置为true时,userid不能设置为空;这是因为当 useLogonRoles设置为true时,系统需要使用userid来确定角色配置是否正确。
1.检查确保代码中的userid变量不是空的,而是带有有效的用户名。
2.如果可以,尝试把useLogonRoles参数设为false,以允许userid为空。
3.如果此类角色是必需的,则最好在代码中直接指定要使用的角色,而不是使用useLogonRoles参数。
例如: 将“role=> SYSADMIN”加入connect语句中。
--结束END--
本文标题: ORA-29475: useLogonRoles=>TRUE not permitted with userid=>NULL ORACLE 报错 故障修复 远程处理
本文链接: https://www.lsjlt.com/news/542744.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0