The ULSQLCONNECT environment variable is optional, and is not set by the installation program. ULSQLCONNECT contains a list of parameters defined as keyword=value pairs in a semicolon delimited list.
Use ULSQLCONNECT to avoid having to repeatedly supply the same connection parameters during development to UltraLite administration tools. You cannot use ULSQLCONNECT for custom applications.
Do not use the pound character (#) as an alternative to the equal sign; the pound character is ignored in UltraLite. All platforms supported by UltraLite allow you to use = inside an environment variable setting.
At the command prompt, enter the following:
set ULSQLCONNECT="parameter=value; ..."
If an administration tool requires any additional parameter or if you need to override default values set with this environment variable, ensure you set these values. User-supplied values always take precedence over this variable.
To use ULSQLCONNECT to connect to a file named c:\database\myfile.udb connecting as a user called demo and a password of test, set the following variable in your environment:
By setting this environment variable, you no longer need to use the -c connection option for these defaults values—unless you need to override these values.
For example, if you were using ulload to add additional information to your database from an extra.xml file, you would simply run the command as follows:
ulload -a extra.xml