MariaDB version manager. Installs any supported version on any OS.
This document contains the help content for the mariadb-version-manager-rs
command-line program.
Command Overview:
mariadb-version-manager-rs
↴mariadb-version-manager-rs download
↴mariadb-version-manager-rs download-plan
↴mariadb-version-manager-rs env
↴mariadb-version-manager-rs install
↴mariadb-version-manager-rs install-dependencies
↴mariadb-version-manager-rs ls
↴mariadb-version-manager-rs ls-remote
↴mariadb-version-manager-rs uri
↴mariadb-version-manager-rs service
↴mariadb-version-manager-rs service install
↴mariadb-version-manager-rs service install open-rc
↴mariadb-version-manager-rs service install systemd
↴mariadb-version-manager-rs service install windows-service
↴mariadb-version-manager-rs service reload
↴mariadb-version-manager-rs service start
↴mariadb-version-manager-rs service stop
↴
Usage: mariadb-version-manager-rs [OPTIONS] <COMMAND>
download
— Download specified versiondownload-plan
— Resolve download URL and hash/checksum. Useful for security and concurrency.env
— Print out associated environment variablesinstall
— Install specified versioninstall-dependencies
— Install (only) dependencies for specified versionls
— List what versions are installedls-remote
— List what versions are availableuri
— Print out database connection stringservice
— Service management
-
--vms-config <VMS_CONFIG>
— Config file to read from. If provided used as new default (before env and argv res)Default value:
$HOME/version-managers/mariadb-version-manager-rs/vms-config.json
-
--config-read
— Whether to read from config file. If vms_config provided, this defaults totrue
Default value:
false
-
--config-write
— Whether to write to config fileDefault value:
true
-
--app-version <APP_VERSION>
— Desired version of applicationDefault value:
latest
-
--vm-root <VM_ROOT>
— root directory for all version-managers. For download cache and interdependenciesDefault value:
$HOME/version-managers
-
--root <ROOT>
— Root directory. By default all paths are relative to this oneDefault value:
$HOME/version-managers/mariadb-version-manager-rs
-
--hostname <HOSTNAME>
— Hostname of serverDefault value:
localhost
-
-p
,--port <PORT>
— Port for server to listen onDefault value:
3306
-
--database <DATABASE>
— Database nameDefault value:
database
-
--runtime-path <RUNTIME_PATH>
— Runtime path. This is where PID files and/or similar temporary files are storedDefault value:
$HOME/version-managers/mariadb-version-manager-rs/mariadb-version-manager-rs/$APP_VERSION/run
-
--data-path <DATA_PATH>
— Data path. This is where the actual data is stored, e.g., the .db and WAL filesDefault value:
$HOME/version-managers/mariadb-version-manager-rs/mariadb-version-manager-rs/$APP_VERSION/data
-
--bin-path <BIN_PATH>
— Binary path. Where the executable binary are located. Sometimes called PREFIXDefault value:
$HOME/version-managers/mariadb-version-manager-rs/mariadb-version-manager-rs/$APP_VERSION/bin
-
--logs-path <LOGS_PATH>
— Logs path. Where the log files are to be storedDefault value:
$HOME/version-managers/mariadb-version-manager-rs/mariadb-version-manager-rs/$APP_VERSION/logs
-
--locale <LOCALE>
— Locale to useDefault value:
en_US.UTF-8
-
--markdown-help
— Markdown help generator. Only really used to generate replacement README.md files
Download specified version
Usage: mariadb-version-manager-rs download [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
Resolve download URL and hash/checksum. Useful for security and concurrency.
Usage: mariadb-version-manager-rs download-plan [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
Print out associated environment variables
Usage: mariadb-version-manager-rs env
Install specified version
Usage: mariadb-version-manager-rs install [VERSION] [SKIP_DEPENDENCIES]...
<VERSION>
— version to install, defaults to global arg if provided otherwise env var<SKIP_DEPENDENCIES>
— dependencies to skip installation of, defaults to install all. Skip all with *
Install (only) dependencies for specified version
Usage: mariadb-version-manager-rs install-dependencies [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
List what versions are installed
Usage: mariadb-version-manager-rs ls
List what versions are available
Usage: mariadb-version-manager-rs ls-remote
Print out database connection string
Usage: mariadb-version-manager-rs uri
Service management
Usage: mariadb-version-manager-rs service <COMMAND>
install
— Install service (daemon), e.g., systemd, OpenRC, windows-servicereload
— Reload specified versionstart
— Start specified versionstop
— Stop specified version
Install service (daemon), e.g., systemd, OpenRC, windows-service
Usage: mariadb-version-manager-rs service install install <COMMAND>
open-rc
— Install OpenRC servicesystemd
— Install systemd servicewindows-service
— Install Windows Service
Install OpenRC service
Usage: mariadb-version-manager-rs service install open-rc [OPTIONS]
-
--group <GROUP>
— user group to run service asDefault value:
mariadb-version-manager-rs
-
--config-install-path <CONFIG_INSTALL_PATH>
— where to install the config fileDefault value:
/etc/conf.d/mariadb-version-manager-rs
-
--service-install-path <SERVICE_INSTALL_PATH>
— where to install the service fileDefault value:
/etc/init.d/mariadb-version-manager-rs
-
--user <USER>
— user to run service asDefault value:
mariadb-version-manager-rs
Install systemd service
Usage: mariadb-version-manager-rs service install systemd [OPTIONS]
-
--group <GROUP>
— user group to run service asDefault value:
mariadb-version-manager-rs
-
--service-install-path <SERVICE_INSTALL_PATH>
— where to install the service fileDefault value:
/etc/systemd/system/mariadb-version-manager-rs.service
-
--user <USER>
— user to run service asDefault value:
mariadb-version-manager-rs
Install Windows Service
Usage: mariadb-version-manager-rs service install windows-service [OPTIONS]
-
--service-name <SERVICE_NAME>
— name of serviceDefault value:
mariadb-version-manager-rs
-
--service-description <SERVICE_DESCRIPTION>
— description of serviceDefault value: ``
Reload specified version
Usage: mariadb-version-manager-rs service reload [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
Start specified version
Usage: mariadb-version-manager-rs service start [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
Stop specified version
Usage: mariadb-version-manager-rs service stop [VERSION]
<VERSION>
— version to install, defaults to global arg if provided otherwise env var
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.