当我尝试通过 isql syntex 运行 sybase 查询时,出现以下错误。
错误-
"The context allocation routine failed when it tried to load localization files!! One or more following problems may caused the failure
Your sybase home directory is C:\Sybase. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.UTF-8" defined in environment variable LANG Locale name "en_US.UTF-8" doesn't exist in your C:\Sybase\locales\locales.dat file An error occurred when attempting to allocate localization-related structures. "
我检查了环境路径变量是正确的。
最佳答案
我发现如果我跑
unset LANG
在运行 isql 之前,isql 会按预期工作。
https://stackoverflow.com/questions/22235042/