[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Anubis database is identified by its URL, or Universal
Resource Locator. A URL
consists of following elements
(square brackets enclose optional ones):
proto://[[user[:password]@]host]/path[params]
where:
Specifies the database protocol. The protocol describes how to access the database. In a way, it may be regarded as specifying the database type. Currently, GNU Anubis supports the following database protocols:
‘text’ | A plain text file with users’ credentials. |
‘gdbm’ | GDBM database |
‘mysql’ | MySQL database |
‘pgsql’ | PostgreSQL database |
‘postgres’ | Alias for ‘pgsql’. |
These protocols are described in detail below.
The name of the user authorized to access the database.
Password for the above user.
Domain name or IP address of a machine running the database.
A path to the database. The exact meaning of this element depends on the database protocol. It is described in detail when discussing particular protocols.
A list of protocol-dependent parameters. Each parameter consists of the parameter name, or keyword and its value separated by a equals sign:
keyword=name
Multiple parameters are separated by semicolons.
3.3.1 Plain text databases | ||
3.3.2 Databases in GDBM format | ||
3.3.3 MySQL and PostgreSQL | MySQL and PostgreSQL databases |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 6, 2024 using texi2html 5.0.