Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Database

There are 3 ways of accessing the database of a haze instance.

CLI

haze [filter] db [query]

Opens the command line client for the database. If a query is specified, it will be executed. If no query is specified, an interactive shell will be started.

Example

haze db 'select fileid, storage, path from oc_filecache'

WebUI

A web UI (based on DbGate) is available with every instance.

It can be accessed by using haze open db, or, if the proxy is setup at db.haze.example.com.

External tools

For usage with external tools, the database connection URL is printed when the instance is created.

Details on how to use the connection URL is dependent on the external tool.