Mimer SQL Documentation TOC PREV NEXT INDEX

Mimer SQL Developer Site


Environment Variables


The following table lists and explains the environment variables Mimer SQL uses in Linux.

Variable
Explanation
 DYLD_LIBRARY_PATH
Used on macOS to locate shared libraries in runtime.
 HOME
Used to locate the home directory from within various Mimer SQL programs.
 LD_LIBRARY_PATH
Used on most platforms to locate shared libraries in runtime.
 MIMER_DATABASE
Used to point out which database to access. If not set, the default database, set in /etc/sqlhosts, is used.
 MIMER_EXTEND
Used to change the number of pages to allocate when dynamically extending a databank file.
If not set, the default is 128 pages (each of 4096 bytes). The variable must be set for the process starting the database server program.
 MIMER_HISTLINES
Used to change the number of command lines to be stored in the recorded history for a Mimer BSQL session.
If not set, the default is 23.
 MIMER_KEYFILE
If set, the given string is treated as the name of the license key file (overriding the /etc/mimerkey file).
 MIMER_MODE
Used to indicate the mode for which the database should be accessed, that is, SINGLE or MULTI.
Use single mode if accessing a database for which the database server program is not started. If not set, MULTI is assumed.
 MIMER_NOEDIT
If set, the command line editing package for a Mimer BSQL session is disabled.
 MIMER_ODBCINI
If set, the given string is treated as the name of the file for ODBC Data Source lookup.
If not set, and if ODBCINI is not set, the home directory is searched for the .odbc.ini file (using the HOME environment variable).
 MIMER_SQLHOSTS
The default SQLHOSTS file is /etc/sqlhosts. Another file can be used by defining the MIMER_SQLHOSTS environment variable to hold the path of the target SQLHOSTS file.
 ODBCINI
Same as MIMER_ODBCINI.
Overrides MIMER_ODBCINI if set.
 PATH
Used to locate Mimer executables.
 SHELL
Used shell when temporarily entering the operating system shell prompt from within Mimer SQL.
If not set, /bin/sh is used.
 TMPDIR
If set, it is used as the placeholder for temporary files created by Mimer SQL. If it is not set, the directory $HOME/.mimer_tmp is used.


Mimer
Mimer Information Technology AB
Phone: +46 18 780 92 00
info@mimer.com
Mimer SQL Documentation TOC PREV NEXT INDEX