connecting to Informix 7.x [message #145219] |
Wed, 26 October 2005 23:54 |
Eclipse User |
|
|
|
Originally posted by: christopher_brown.engin.com.au
Hi
I'm new to eclipse and very much a novice when it comes to Java. I've
installed
Eclipse SDK, Version: 3.1.1, Build id: M20050929-0840 under Windows 2000
I've downloaded and installed the jdbc drivers from Informix. When setting
up a connection I'm not sure what values I should be using for JDBC Driver
class or the jar file I should select for the Class location
I've gleaned most values from the connection set-up for Server Studio and
Informix docs.
Looking at the choices I have for dtabase manager I notice versions
numbers 9.2, 9.3 and 9.4. Does this mean I can't set up a connection to
version 7.x?
I've tried the following values
JDBC driver class: com.informix.jdbc.ifxDriver
Class location: C:\IBM\Informix JDBC Driver 2.21.JC5\lib\ifxjdbc.jar
Connection URL: jdbc:informix-sqli://1.2.3.4:1000:INFORMIXSERVER=myserver
When I test the connection I get the following
"Connection to Informix failed. com.informix.jdbc.ifxDriver"
Is there anything obvious I'm doing wrong? Any advice would be much
appreciated.
Regards
Chris
P.S. I've tried setting up a Mysql connection too. It fails with stack
trace. How can i capture this? I don't really want to type the entire
message.
|
|
|
Re: connecting to Informix 7.x [message #145322 is a reply to message #145219] |
Thu, 27 October 2005 00:10 |
Eclipse User |
|
|
|
Originally posted by: christopher_brown.engin.com.au
Hi again,
For no apparent reason the error message has changed.
"Connection to Informix failed. User (con.informix.asf.
ASFRemoteException: myuid)'s password is not correct for the database
server."
This looks more promising but can't understand why this password works for
Server Studio and not for eclipse.
Any ideas?
Thanks
Chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.01843 seconds