Configure
Preparing dbui configuraiton file.
DBUI requires a configuration file to start. The file must be named dbui.yml
and has the following structure:
For any given data source, DBUI requires three parameters:
Alias - a user-defined name for a data source. It is shown in the UI as the name of the connection.
Type - type of the databases. It is used to select a database driver.
Directory Specific Configuration
DBUI first checks in the current directory (./dbui.yml
) for the configuration file during the application startup. You can use this feature to set a project-based database configuration file and isolate a different set of data sources from each other.
User Specific Configuration
If there is no configuration file in the current directory, DBUI will check in the user's home directory (~/dbui.yml
).
Custom Configuration
Additionally, you can also provide a custom configuration file using the -f
flag.
No Configuration
Please not that If you intent to start it without the configuration file it will raise the following error:
Last updated