使用客户机上的“配置助手”,配置后,测试连接成功,使用“控制中心”访问服务器上的数据库也没问题; 但是使用TOAD连接,提示:ERROR [] [IBM] SQL1460N The environment variable "SOCKS_NS" required for SOCKS server name resolution is not defined or not valid.
db2 ? SQL1460N SQL1460N The environment variable "" required for SOCKS server name resolution is not defined or not valid.Explanation: The SOCKS environment variable SOCKS_NS or SOCKS_SERVER is not defin...显示全部
db2 ? SQL1460N
SQL1460N The environment variable "" required for SOCKS server name resolution is not defined or not valid.
Explanation:
The SOCKS environment variable SOCKS_NS or SOCKS_SERVER is not defined. SOCKS protocol support requires that both these environment variables be defined.
SOCKS_NS This is the IP address of the domain name server where the SOCKS server is defined.
SOCKS_SERVER This is the hostname of the SOCKS server.
User response:
Define the missing environment variable and resubmit the command.收起