Connection strings for IBM UniData
Providers to use when connecting to IBM UniData
Finding this site useful?
-Say "Thanks" to Purusothaman A and the other contributing developers!
-Thank you! »
-Say "Thanks" to Purusothaman A and the other contributing developers!
-Thank you! »
UniOLEDB
Standard
DATA SOURCE=myDataSource;LOCATION=myLocation;USER ID=myUsername;PASSWORD=myPassword;
UniObjects for .NET
Type: .NET Framework Class Library
Usage: IBMU2.UODOTNET.UniObjects.OpenSession
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
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;
