Unix Technical Forum

ISQL Error: Could not SQLConnect

This is a discussion on ISQL Error: Could not SQLConnect within the Informix forums, part of the Database Server Software category; --> Hi All, I have been using the Informix Server/client on same mechine (RHEL WS 4). I have configured odbcinst.ini ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 10:05 AM
joy
 
Posts: n/a
Default ISQL Error: Could not SQLConnect

Hi All,

I have been using the Informix Server/client on same mechine (RHEL WS
4).
I have configured odbcinst.ini and odbc.ini manually, but could not
connect to informix database using isql utility with informix ODBC
driver.It throws error message "ISQL Error: Could not SQLConnect".But i
am able to connect through dbaccess(informix server tool).

The versions of the Informix and unix ODBC driver manager

Informix Dynamic Server Version IBM.IDS.9.40.UC2E1.cpi
INFORMIX-Client SDK Version 2.90.UC3
unixODBC 2.2.9

Thanks,
Jayanta

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 10:06 AM
scottishpoet
 
Posts: n/a
Default Re: ISQL Error: Could not SQLConnect

This "isql" utility, is it the Informix provided product ISQL that has
character based forms and reports?

If so, it does not use ODBC to connect to the database, it can only use
native connections

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 10:06 AM
try_and_err@web.de
 
Posts: n/a
Default Re: ISQL Error: Could not SQLConnect


Hi,

try "isql -v", that should give you more details.
With older Informix drivers it should work (look at
"http://www.unixodbc.org/doc/informix.html"), with newer drivers i am
not sure...

Regards,
try_and_err

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-20-2008, 10:06 AM
Doug Lawry
 
Posts: n/a
Default Re: ISQL Error: Could not SQLConnect

Jayanta,

If you are trying to use the Informix-SQL "isql" command, make sure that
$INFORMIXDIR/bin is at the front of your PATH environment variable, or you may
be running a utility of the same name from

http://www.unixodbc.org

which is preloaded on some Linux distributions (SuSE in my case).

If this is what you intended to run, then I'm afraid I get the same problem as
you after following the manual installation instructions given on their Web
site, and Google shows others having similar problems with Informix but no
solutions. Have you tried downloading and installing a later version of
unixODBC?

--
Regards,
Doug Lawry
www.douglawry.webhop.org


"joy" <ja78@indiatimes.com> wrote in message
news:1125321425.878601.28750@g43g2000cwa.googlegro ups.com...
> Hi All,
>
> I have been using the Informix Server/client on same mechine (RHEL
> WS 4). I have configured odbcinst.ini and odbc.ini manually, but
> could not connect to informix database using isql utility with
> informix ODBC driver. It throws error message "ISQL Error: Could
> not SQLConnect". But i am able to connect through dbaccess
> (informix server tool).
>
> The versions of the Informix and unix ODBC driver manager
>
> Informix Dynamic Server Version IBM.IDS.9.40.UC2E1.cpi
> INFORMIX-Client SDK Version 2.90.UC3
> unixODBC 2.2.9
>
> Thanks,
> Jayanta



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com