HEAT(1)

NAME
heat-db-setup - Setup and configure the Heat database

SYNOPSIS

heat-db-setup <platform_type>

DESCRIPTION

The heat-db-setup script creates the heat database on the system, using MYSQL as a backend database. The script works on either RPM or DEB based distributions. If the MYSQL server is not present, the user will be prompted to install it. If the MYSQL server is not running, the user will be prompted to start it. Once MYSQL is started, the appropriate SQL commands will be run to instantiate the database on the system.

OPTIONS

latform_type
    This required option can be either rpm or deb, which will use the appropriate platform specific tools and packaging to instantiate the database.

    --help
        Print usage information.

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

            --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.

BUGS

Since Heat is in active development, occasionally the database may suffer corruption during master updates. In this case, the heat-db-drop tool can be used to drop the database tables and start from scratch. This application is only shipped in the source tarball, since it will be unnecessary when Heat is production quality and too heavyweight for a production deployment.

AUTHOR

See the AUTHORS file for a complete list of contributors.

COPYRIGHT

Copyright © 2012, Red Hat Inc

Heat is released under the terms of the ASL 2 License.

Extensive documentation as well as IRC and mailing list info is available on the heat home page: https://heat-api.org/