Developers community number 1 connection string reference

Connection strings for IBM UniData

Community Forums
Find solutions and post questions regarding connection string related issues.

UniOLEDB

Type OLE DB Provider
Usage Ardent.UniOLEDB
Manufacturer IBM

Standard

DATA SOURCE=myDataSource;LOCATION=myLocation;USER ID=myUsername;PASSWORD=myPassword;
 
 

UniObjects for .NET

Type .NET Framework Class Library
Usage IBMU2.UODOTNET.UniObjects.OpenSession
Manufacturer IBM

Standard

There's no connection string for the UniSession class. Instead use the static OpenSession method of the UniObjects class.

UniSession us1 = UniObjects.OpenSession(“DENVER\\asmith”, ”username”, ”password”, “databaseAccount”, ”UDCS”);

The last parameter, UDCS, is what tells the object to connect to UniData (not UniVerse).

 
 

U2.Net

Type .NET Framework Class Library
Usage
Manufacturer IBM

Login profile format

Login=lpn;user=myUsername;password=myPassword;
 
 

Specifying location of the configuration database

Login=lpn;ConfigDBLocation=d:\folderWithConfigFolder;user=myUsername;password=myPassword;
 
 

Server profile format

Server=spn;Account=apn;user=myUsername;password=myPassword;
 
 
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.