If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Cant connect to informix database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-04, 10:38
parth parth is offline
Registered User
 
Join Date: Sep 2004
Posts: 11
Unhappy Cant connect to informix database

hi All,

When I try to connect to my informix database using an cli library I get an error saying

[Informix][Informix ODBC Driver][Informix]Unspecified System Error = -25553.
State Code: HY000


I have used the same code with same startrup script on other machines and it works fine.

I guess probably some envrionment variable needs to be set.

I'd appreciate any suggestions, Thanks a lot

Last edited by parth; 11-10-04 at 10:48.
Reply With Quote
  #2 (permalink)  
Old 11-19-04, 11:54
nog nog is offline
Registered User
 
Join Date: Nov 2004
Posts: 26
Informix error message (from unix)

------------
-25553 Sqlhosts file not found or cannot be opened.

The sqlhosts file is required to determine information to establish
connection to a local or remote server. Create an sqlhosts file in the
directory $INFORMIXDIR/etc according to the format that the manual for
your database server product describes.
------------
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On