shsql: shsql environment

SQL database system
| Manual page for shsql(environment)

In order to successfully access a shsql database, a given process or session must have access to the required environment variables and must be owned by an appropriate userid and groupid.``

## Environment variable

SHSQL_DB - the full pathname of the project directory. A project config file named `config` should be located there.`` If multiple shsql databases are in use, use this environment variable to select which database is currently active (only one database can be currently active at a time, and joins across databases are not supported).``

## Config file

A project config file must already exist.`` A config file is automatically created when you create a SHSQL database.``

## UserID and GroupID

shsql does not do any user identity authentication.`` Access to all database files is enforced by Unix file permissions.`` Thus processes that expect to update a database should be owned by a userID that can write to database files and directories. The same goes for read access.``
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` March 18, 2004.