Oct. 12th, 2016

Содержимое файла /opt/IBM/informix/etc/sqlhosts.ol_informix1210:
ol_informix1210 onsoctcp toster ol_informix1210
dr_informix1210 drsoctcp toster dr_informix1210
lo_informix1210 onsoctcp 127.0.0.1 lo_informix1210


Команды для создания библиотеки libdb2informixF.so:
sudo su
export INFORMIXDIR=/opt/IBM/informix
/opt/ibm/db2/V10.5/bin/djxlinkInformix


Содержимое файла /home/db2inst1/sqllib/cfg/db2dj.ini:
INFORMIXDIR=/db2extra/ifx/informix
INFORMIXSERVER=ol_informix1210
INFORMIXSQLHOSTS=/db2extra/ifx/informix/etc/sqlhosts.ol_informix1210
GL_USEGLU=1
CLIENT_LOCALE=ru_RU.utf8


Набор команд процессора DB2 по подключению к серверу:
create wrapper informix;
create server ifx type informix version 12.10 wrapper informix options (node 'ol_informix1210', dbname 'demo');
create user mapping for db2inst1 server ifx options (REMOTE_AUTHID 'informix', REMOTE_PASSWORD 'passw0rd');
set passthru ifx;
SELECT count(*) FROM informix.systables;
set passthru reset;

Profile

zinal: (Default)
Maksim Zinal

April 2017

M T W T F S S
     12
3456 789
10111213141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 25th, 2017 09:41 am
Powered by Dreamwidth Studios