---
name: "heat-db-setup"
section: "1"
platform: "linux"
package: "heat-common"
version: "1:7.0.0-4"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/heat-db-setup"
---

# heat-db-setup(1)

Command line utility to setup the Heat database

## NAME

heat-db-setup - Command line utility to setup the Heat database

## SYNOPSIS

**heat-db-setup \[COMMANDS\] \[OPTIONS\]**

## DESCRIPTION

heat-db-setup is a tool which configures the local MySQL database for heat. Typically distro-specific tools would provide this functionality so please read the distro-specific documentation for configuring heat.

## COMMANDS

**rpm**

Indicate the distribution is a RPM packaging based distribution.

**deb**

Indicate the distribution is a DEB packaging based distribution.

## OPTIONS

- **-h, --help**

  Print usage information.

- **-p, --password**

  Specify the password for the 'heat' MySQL user that the script will use to connect to the 'heat' MySQL database. By default, the password 'heat' will be used.

- **-r, --rootpw**

  Specify the root MySQL password. If the script installs the MySQL server, it will set the root password to this value instead of prompting for a password. If the MySQL server is already installed, this password will be used to connect to the database instead of having to prompt for it.

- **-y, --yes**

  In cases where the script would normally ask for confirmation before doing something, such as installing mysql-server, just assume yes. This is useful if you want to run the script non-interactively.

## EXAMPLES

heat-db-setup rpm -p heat\_password -r mysql\_pwd -y

heat-db-setup deb -p heat\_password -r mysql\_pwd -y

heat-db-setup rpm

## BUGS

Heat bugs are managed through Launchpad *OpenStack Heat Bugs*

## AUTHOR

Heat Developers

## COPYRIGHT

2017,2013 Heat Developers
