Apache调用数据库出现23101错,怎么办
原来用CGI写了个web应用程序,服务器为AIX版本apache,数据库为informix online,也是运行于AIX操作系统下,一切运行正常。最近用JAVA写了新的应用,要访问同个数据库。为了支持中文,加了环境变量CLIENT_LOCALE=zh_cn.gb,数据库重建。这样原来CGI写的web应用连接数据库(database dbname)就出现如下错误:
-23101Unable to load locale categories. An invalid locale name was supplied for the locale initialization. The environment variable to specify the locale category has a wrong value. Check the value of the corresponding environment...
请问高手如何解决?
不知道apache下(AIX操作系统)如何配置环境变量? 發了兩次~..#40..:em06: :em06:
页:
[1]