command-line - 无法在 cygwin 上运行 isql

当我尝试通过 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/

相关文章:

wpf - 在不破坏 ControlTemplate 的情况下将 setter 添加到 Contro

localization - 在运行时更改 WIX 安装程序语言

math - 最大化受二次约束的线性目标

objective-c - NSData 指针与引用

diff - 如何通过输出获取差异文件名

jdbc - 在 Netty 消息处理中使用 JDBC 事务

qt - 如何在 QMainWindow 中绘画?

database-design - Toad ERD 到 Visio ER 图的转换

makefile - 了解 kbuild 构建过程的工作原理

Django - 如何设置表单字段占位符的样式?