Informix数据库配置

** 准备工作: **

** ** 先从 www.informix.com 下载 测试版安装程序和ClientSdk

** 服务器端配置: **

解压缩安装程序后,运行setup.exe进行安装。
安装过程中要记录一些相关参数
IP Address:
Computer Name:
User name:
Password:
Danimyc server name:
Service name:
Port:

重新启动computer

进入Informix/bin目录
启动informix: starts myinformix
可以运行: dbaccess来测试

** 客户端配置: **

安装客户端clientsdk2.90.TC1.zip

修改两个系统文件
1. windows\system32\drivers\etc\hosts
添加一行,如:192.168.0.61 computername myinformix
第一列: 远程server的 IP Address
第二列: 远程server的 Computer Name
第三列: 远程server的 别名

2.windows\system32\drivers\etc\services
添加一行,如:informix_ser 1562/tcp informix #informix
第一列:服务名
第二列:远程server的port和使用的协议
第三列:别名
第四列:注释

** ODBC配置: **

server Name: 远程server别名
Host Name:server IP Address
Service : 本地别名(在services中配置的)
protocol: 协议一般为tcp

如图:

** 安装客户端工具: **

安装DBRich或者WinSql之类的第三方客户端工具,通过ODBC就能够连接上Informix库了

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus