Written by

Question Nildo Torres · Jun 16, 2023

I'm trying to mount a database but it says the following error: ERROR #86: the database default collations is not available

I'm trying to mount a database but it says the following error: ERROR #86: the database default collations is not available

Product version: Caché 2018.1
$ZV: 2018.1.5

Comments

Dmitry Maslennikov · Jun 16, 2023

Looks like the database was created with a different collation, and contains a few globals with this collation. 

I don't remember, but I think in the messages.log it should show which collation is expected. And then, you can change it in Management Portal, and with NLS. When you activate NLS which contains the expected collation, it will be able to mount this database.

0
Nildo Torres  Jun 17, 2023 to Dmitry Maslennikov

Hi Dmitry!! Hope you are doing well!!

Could you please describe your procedure in more detail please. I did not find messages.log file and could please explain in more detail how I could do that in Management Portal, since this the .dat file is in offline state. You mentioned about activate NLS could please give me more detail about that.

Thank you very much in Advanced.

Nildo Torres

0
Robert Cemper  Jun 17, 2023 to Nildo Torres

in Caché it is %installdir%/mgr/cconsole.log
and you can see it from MgmtPortal
and it would be helpful if you uncover the primary language you use

0
Lorenzo Scalese · Jun 18, 2023

Hello @Nildo Torres ,

If the collation to install is identified, you can use the following classmethod : 

Set $Namespace = "%SYS"
; Change fraw by the locale you need.
Set sc = ##class(Config.NLS.Locales).Install("fraw")
0
Nildo Torres  Jun 25, 2023 to Lorenzo Scalese

Looking the console log I saw it saying error with collation 20.

0