Developers community number 1 connection string reference

Connection strings for IBM UniVerse

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”, ”UVCS”);

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

 
 

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;
 
 

IBM UniVerse ODBC Driver

Type ODBC Driver
Usage IBM UniVerse ODBC Driver
Manufacturer IBM

Standard

Driver={IBM UniVerse ODBC Driver};Server=servername;Database=/LOCATION/GEM.TRAIN.SQL;Uid=yourUserName;Pwd=yourPassword;
 
 
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.