WinNT -- ODBC -- UNIX informix 7.3, help
Posted in 1998
> I have Informix on Sun, ODBC on my winNT, I try to login from winNT
> using ILogin:
>
> [Image 1]
>
>
> But I get error:
>
> [Image 2]
>
>
> The server: mrp_online is the database server name.
> servicename is from /etc/service
> protocolname is from sqlhosts
>
> Do I need something else, or the configuration is wrong?
the first image is to show the login panel, it needs the following
and my parameters:
Server : mrp_online
Hostname : mrpibb
Servicename : dni_port
Protocolname : onsoctcp
Username : informix
Passward : xxxxxx
Stores Database : stores7
Second image is the error screen :
Database sqlcode : -908
Attempt to connect to database server (servername,
conerr=connection-error-number, oserr=system-error-number) failed.
???
The server and network are both fine.
And I can use ODBC from another UNIX machine with no problem.
Maybe I didn't do it right on WinNT???
Maybe the NETTYPE setting in onconfig file and sqlhosts?
OR Maybe /etc/service problem?
Or I need to do somethings on NT?
Following is my sqlhosts and /etc/hosts and onconfig files :
sqlhosts:
=========
demo_on onipcshm on_hostname on_servernamedemo_se seipcpip se_hostname sqlexec
#dni_online onsoctcp mrpibb dni_port
#dni_online onipcstr mrpibb dni_port#dni_online ontlitcp mrpibb informix s=0
#mrp_online ontlitcp mrpibb dni_port
mrp_online ontlitcp mrpibb informix s=0
onconfig:
=========
DBSERVERNAME mrp_online # Name of default database server
NETTYPE # Configure poll thread(s) for nettype
/etc/services:
==============
dni_port 8100/tcp # For Informix
Can anyone help?
scott
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own