欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Bug 29041775 : ORA-41401: Define character set () does not match database character set ()

程序员文章站 2023-08-19 23:10:05
oracle版本12.2.0.1 Errors in file /u01/app/oracle/diag/rdbms/sibcyb1/CYB111/trace/CYB111_q003_166752.trc:ORA-41401: Define character set () does not mat ......

oracle版本12.2.0.1

errors in file /u01/app/oracle/diag/rdbms/sibcyb1/cyb111/trace/cyb111_q003_166752.trc:
ora-41401: define character set () does not match database character set ()
ora-41401: define character set (ora-41401: define character set (873) does not match database character set (852)
) does not match database character set ()

mos文档 id 2547439.1

 

-- cdb

 


conn / as sysdba

sql> select * from nls_database_parameters where parameter like '%characterset';

parameter                 value
------------------------- --------------------
nls_nchar_characterset    al16utf16
nls_characterset          al32utf8

sql> alter session set container=pdb1;

session altered.

 

-- pdb

sql> select * from nls_database_parameters where parameter like '%characterset';

parameter                 value
------------------------- --------------------
nls_nchar_characterset    al16utf16
nls_characterset          al32utf8

解决方法:

 

1.  apply the fix for bug 29041775.

patches with the fix for bug 29041775 are available for some 12.2 and 18.x version/platform combinations.  please check patch availability in my oracle support (mos);  for a list of available patches, please do the following:

- in mos, select the patches & updates tab
- in search tab, for number/name or bug number (simple), select bug number
- for bug number, enter 29041775
- for platform, select desired platform
- click search button.  
- the search will return a list of available patches with the fix for bug 29041775.

or

2.  upgrade to oracle server 20.1 when available.  bug 29041775 is fixed in 20.1.