iT邦幫忙

2021 iThome 鐵人賽

DAY 21
0
自我挑戰組

FRIENDS系列 第 21

Day 21: Informix(2)

Day 21: Informix(2)

環境設定

查詢自己帳號預設的登入 shell 設定

對於 Informix DB 而言,是ksh

.profile

  • (A) .profile file

  • (B) Automate startup and shutdown on UNIX

    • environment variable
      • INFORMIXDIR

        the full path name of the directory in which the database server is installed

      • INFORMIXSERVER

        the sysmaster database can be updated (or created, if necessary)

        The sysmaster Database

      • INFORMIXSQLHOSTS

        If you store the information in another location, you must set the INFORMIXSQLHOSTS environment variable.

        The sqlhosts file and the SQLHOSTS registry key

  • (A+B) What's in .profile?

    export INFORMIXDIR=/usr/ifx_instance/informix_X
    export INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhost_X
    export INFORMIXSERVER=[主機]
    
師承謝門

上一篇
Day 20: Informix
下一篇
Day 22: Informix(3)
系列文
FRIENDS30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言