Skip to content

andresrsanchez/ARS.IfxConnection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ARS.IfxConnection

Connection tests between Informix in Docker and C#

Docker

  1. Download informix docker image from here and follow the instructions.

  2. Go to /opt/ibm/informix/sqlhosts, check the name in drsoctcp protocol and edit the hostname with 0.0.0.0.
    Like the following image:
    alt text

  3. Edit in /opt/ibm/informix/onconfig DBSERVERALIASES key with step 2 value (informix_dr).
    Example:
    alt text

  4. Restart informix server with "onmode -ku -y" and initialize with "oninit".

  5. Check DRDA Connection (9089 port) with netstat inside your container.

CSharp

  1. In your project add IBM.Data.DB2.Core nuget.
  2. In your connection string add this parameter: "Persist Security Info=True;Authentication=Server". Example in IfxConnectionTests.cs file on this repo.
  3. Done!

About

Connection tests between Informix in Docker and C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages