1.
/opt/informix/etc/ sqlhosts
文件 [informix@informix ~]$ vi /opt/informix/etc/sqlhosts
#**************************************************************************
# Licensed Material - Property Of IBM
# "Restricted Materials of IBM"
# IBM Informix Dynamic Server
# (c) Copyright IBM Corporation 1996, 2004 All rights reserved.
# Default sqlhosts file for running demos.
#**************************************************************************
# IANA ([url]www.iana.org[/url]) assigned port number/service names for Informix:
#INFORMIXSERVER PROTOCOL HOSTNAME SERVICE_NAME
demo_on onsoctcp informix sqlexec #demo_se seipcpip se_hostname sqlexec
[informix@informix ~]$ vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
[informix@informix ~]$ vi /etc/services
4. /opt/informix/etc/onconfig
文件 C:\WINDOWS\system32\drivers\etc
目录下的两个文件hosts,service # Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept . an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least .e
# Additionally, comments (such as these) may be inserted . individual
# lines or following the machine name denoted by a '#' symbol.
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
man 9535/tcp #Remote Man Server
informix数据库名称:stores_demo
本文转自 pgmia 51CTO博客,原文链接:http://blog.51cto.com/heyiyi/123535