Showing results for 
Search instead for 
Did you mean: 

Unable to connect Squirrel SQL client to UCCX 10.5 database


I'm trying to create custom stored procedures for CUIC custom reports using CUIC Premium. I installed and setup Squirrel, no problem. When I try to connect Squirrel to the UCCX database, I get:

Caused by: java.sql.SQLException: Incorrect password or user com.informix.asf.IfxASFRemoteException: uccxhruser@[jeffjengle-nb] is not known on the database server.

at com.informix.jdbc.IfxSqliConnect.<init>(

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at com.informix.jdbc.IfxDriver.connect(

at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(

at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(


I'm connected via a Fortinet VPN and wondered if the Informix server might require an entry to allow access via JDBC from a remote computer? I'm pretty sure I got the username and password right (it worked when i configured the data source in CUIC).

1 Accepted Solution

Accepted Solutions

I should have been clearer.  The third code snippet is checking $INFORMIXSERVER (the database instance or "server", not the host or physical "server").  My memory is hazy on UCCX, there might be two informix servers on the host, if Squirrel is trying to connect to the other one, the userid would probably be different.  You differentiate between the two (if there are two) with $INFORMIXSERVER and/or the port number used to connect.

Informix will use the OS for password validation, but the userid itself has to be in sysusers, the host that that userid originates from is unimportant.  So johndoe@wherever should be the same as johndoe@

hosts.equiv or .rhosts can be used for trusted communication between servers at the database level - for things like replication, but should not be required for a user sign on.

Is it just me or is the autocorrect feature here terrible?

The first sniper should have been:

"select username, usertype from sysusers"

The third snippet should have been:

select cf_name, cf_effective from sysmaster:sysconfig where cf_name='DBSERVERNAME'

I should also have pointed out that the data source for these snippets is ${CUIC}.


Jack Parker

View solution in original post

4 Replies 4


If it worked for CUIC, it should also work for Squirrel.  I'm not that familiar with Squirrel, but Informix and I are old friends.

There are multiple things you have to get right, the Server, the database and the userid.  It looks like you've got the server and user correct - how about the database?

You can check the user id with a simple CUIC report:  "select username, user type from sysusers", your userid should show in that result set.

You can check the database name with another simple CUIC report: "select name from sysmaster:sysdatabases"

You can check the server with another simple CUIC report: "select cf_name, cf_effective from sys master:sysconfig where cf_name='DBSERVERNAME'"


Jack Parker