You are on page 1of 8

How to configure Squirrel Client to connect to Informix database on Linux UCCX

Alok Shah

aloshah@cisco.com

469-255-1034
Enable access to root user:

1. ssh into the box as root

2. run su – Informix

3. source /opt/cisco/uccx/bin/uccx_ids.env

4. type dbaccess and hit enter

5. Query language is highlighted press enter

6. db_cra is selected press enter


7. Press U to select Use-Editor option
8. vi is displayed by default press enter
9. you are in a vi editor, press i to go to insert mode
10. type grant connect to root; <enter> grant dba to root;

11. type <esc>:wq to save and quit hit enter

12. Run is selected press enter

13. You see "Permission granted" at the bottom


14. Press e twice to exit the dbaccess
15. Type exit and hit enter to exit from Informix user shell
16. You are back in root shell
17. exit to logout

Now you have access to root user.

To configure Squirrel Client:

1. Install Squirrel

http://www.squirrelsql.org/

2. Enable remote access user and get the password to connect to FTP server
 Login as an administrator
 Enable remote user

 Get the password for the remoteuser

https://remotesupporttool.cisco.com/logon.php
 Login with remoteuser you created above to UCCX box

3. Move ifx*.jar from /opt/cisco/uccx/lib of any Dactyl box to the FTP server. These are the
JDBC jars.
 I use FreeFTPD for my FTP server

 Go in correct directory where JAR files are located


 Connect to FTP server

 Move files  ftp> put ifxjdbc.jar and do the same of other ifx*.jar files

4. Create driver for Informix using these jars in the Extra Class Path

5. Class name is "com.informix.jdbc.ifxDriver"


6. Create an alias for the Informix driver – Note: my server host name is alocrs8. “_UCCX”
is added by the system which needs to be in that URL link at the end
7. URL is = jdbc:Informix-sqli://<ip-address>:1504/db_cra:INFORMIXSERVER=<
hostname where - is replaced with _ >

For example if the hostname is dactyl-esx-sa, the JDBC URL would be:
jdbc:informix-sqli://10.78.91.113:1504/db_cra:INFORMIXSERVER=
dactyl_esx_sa_uccx

8. Use root as the user

9. You can find the INFORMIXSERVER value in /opt/cisco/uccx/bin/uccx_ids.env file on


the dactyl box.

You might also like