2013-04-05 11:30:59 +13:00
|
|
|
=============
|
2013-03-14 11:31:19 -07:00
|
|
|
heat-db-setup
|
2013-04-05 11:30:59 +13:00
|
|
|
=============
|
2013-03-14 11:31:19 -07:00
|
|
|
|
|
|
|
.. program:: heat-db-setup
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
========
|
|
|
|
|
|
|
|
``heat-db-setup [COMMANDS] [OPTIONS]``
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
===========
|
|
|
|
heat-db-setup is a tool which configures the local MySQL database for
|
2014-01-18 10:51:09 +08:00
|
|
|
heat. Typically distro-specific tools would provide this functionality
|
2015-04-25 01:00:39 -04:00
|
|
|
so please read the distro-specific documentation for configuring heat.
|
2013-03-14 11:31:19 -07:00
|
|
|
|
|
|
|
|
|
|
|
COMMANDS
|
|
|
|
========
|
|
|
|
|
|
|
|
``rpm``
|
|
|
|
|
|
|
|
Indicate the distribution is a RPM packaging based distribution.
|
|
|
|
|
|
|
|
``deb``
|
|
|
|
|
|
|
|
Indicate the distribution is a DEB packaging based distribution.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
=======
|
|
|
|
|
|
|
|
.. cmdoption:: -h, --help
|
|
|
|
|
|
|
|
Print usage information.
|
|
|
|
|
|
|
|
.. cmdoption:: -p, --password
|
|
|
|
|
2015-12-01 23:58:06 -05:00
|
|
|
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.
|
2013-03-14 11:31:19 -07:00
|
|
|
|
|
|
|
.. cmdoption:: -r, --rootpw
|
|
|
|
|
2015-12-01 23:58:06 -05:00
|
|
|
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.
|
2013-03-14 11:31:19 -07:00
|
|
|
|
|
|
|
.. cmdoption:: -y, --yes
|
|
|
|
|
2015-12-01 23:58:06 -05:00
|
|
|
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.
|
2013-03-14 11:31:19 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
====
|
2015-12-01 23:58:06 -05:00
|
|
|
Heat bugs are managed through Launchpad
|
|
|
|
`OpenStack Heat Bugs <https://bugs.launchpad.net/heat>`__
|