English 中文(简体)
how do create a test connection to informix with jdbc?
原标题:

i dowloaded the Informix JDBC driver connect for deploy it a datasource in my project, they indicated to me that i should download the Informix developer edition from Docker Hub to do a test connection first trought DBeaver and then trought ESB WSO2, but i dont have some things clear, for do a test connection to my Informix Docker container, dont i should first have an Database put in Informix?

that i should do for make my first database test connection from DBeaver??

i should put in each text box? enter image description here

My Docker Container Log is the next:

2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    LICENSE: 
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    LICENSE_SERVER: 
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    DBA_USER: 
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    INFORMIX_PASSWORD: in4mix
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    DBA_PASSWORD: 
2023-07-18 20:37:14 [2023-07-19T01:37:14Z] >>>    HQADMIN_PASSWORD: Passw0rd
2023-07-18 20:37:15 [2023-07-19T01:37:14Z] >>>    USER_MANAGEMENT: 
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    SIZE: SMALL
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    TYPE: OLTP
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    STORAGE: 
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    MEMORY_PERCENTAGE: 
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    CPU_PERCENTAGE: 
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    BUFFERS_PERCENTAGE: 80
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    SHMVIRT_PERCENTAGE: 19
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    NONPDQ_PERCENTAGE: 1
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    DISK_ENCRYPTION: OFF
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    DEBUG: OFF
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    MAPPED_HOSTNAME: cc62adc0b7a2
2023-07-18 20:37:15 [2023-07-19T01:37:15Z] >>>    MAPPED_SQLI_PORT: 9088
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    ONCONFIG_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    SQLHOSTS_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    REST_PROP_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    MONGO_PROP_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    MQTT_PROP_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    DBSERVERNAME: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    DBSERVERALIAS: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    INIT_FILE: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    RUN_FILE_PRE_INIT: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    RUN_FILE_POST_INIT: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    CONFIGURE_INIT: 
2023-07-18 20:37:16 [2023-07-19T01:37:16Z] >>>    EDITION_INSTALLER: 
2023-07-18 20:37:17 [2023-07-19T01:37:16Z] >>>
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    PORT_DRDA: ON
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    PORT_REST: ON
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    PORT_MONGO: ON
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    PORT_MQTT: ON
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    TLS_CONNECTIONS: OFF
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    TLS_CONNECTIONS_STATUS_FILE: /opt/ibm/config/tls_connections_status_file
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    WL_CREDENTIALS_STATUS_FILE: /opt/ibm/config/wl_credentials_status_file
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>
2023-07-18 20:37:17 [2023-07-19T01:37:17Z] >>>    HA: 
2023-07-18 20:37:18 [2023-07-19T01:37:17Z] >>>    HA_PRIMARY: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HA_PRI_DBSERVERNAME: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQSERVER: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQAGENT: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQSETUP: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQSERVER_MAPPED_HOSTNAME: 
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQSERVER_MAPPED_HTTP_PORT: 8080
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    HQSERVER_MAPPED_HTTPS_PORT: 8081
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    Start container
2023-07-18 20:37:18 [2023-07-19T01:37:18Z] >>>    License was not accepted - Exit
2023-07-18 20:42:57 [2023-07-19T01:42:57Z] >>>     PIDS = 
2023-07-18 20:42:57 [2023-07-19T01:42:57Z] >>>     PIDS = 
2023-07-18 20:42:57 Warning: could not access ONCONFIG /opt/ibm/informix/etc/onconfig.
2023-07-18 20:42:57 shared memory not initialized for INFORMIXSERVER  informix 
2023-07-18 20:42:57 [2023-07-19T01:42:57Z] >>>    INFORMIX_CLEAN param1: 
2023-07-18 20:42:57 argv[1]: (0x7ffd4283de8e) /opt/ibm/scripts/informix_entry.sh
2023-07-18 20:42:57 argv[2]: (0x7ffd4283deb1) /opt/ibm/scripts/informix_stop.sh
2023-07-18 20:42:57 Shutdown Signal Received 15:


in the past i used only MySQL and Postgres, but in informix i dont recognize the diference betwen the "Server" and "Host", also dont have clear if in the Docker Informix developer is for put a database the which i can do test querys, call stored procedures and funcions, etc, Docker Hub Informix Developer servers to this?

问题回答

暂无回答




相关问题
what is wrong with this mysql code

$db_user="root"; $db_host="localhost"; $db_password="root"; $db_name = "fayer"; $conn = mysqli_connect($db_host,$db_user,$db_password,$db_name) or die ("couldn t connect to server"); // perform query ...

Users asking for denormalized database

I am in the early stages of developing a database-driven system and the largest part of the system revolves around an inheritance type of relationship. There is a parent entity with about 10 columns ...

Easiest way to deal with sample data in Java web apps?

I m writing a Java web app in my free time to learn more about development. I m using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

Convert date to string upon saving a doctrine record

I m trying to migrate one of my PHP projects to Doctrine. I ve never used it before so there are a few things I don t understand. In my current code, I have a class similar to this: class ...

热门标签