Fixed problems with starting MySQL in heat-db-setup
Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
parent
46bdd9bb1e
commit
cbdbf3146e
|
@ -58,7 +58,7 @@ install_mysql_server() {
|
||||||
}
|
}
|
||||||
|
|
||||||
start_mysql_server() {
|
start_mysql_server() {
|
||||||
$SERVICE_START
|
sudo $SERVICE_START
|
||||||
}
|
}
|
||||||
|
|
||||||
MYSQL_HEAT_PW_DEFAULT="heat"
|
MYSQL_HEAT_PW_DEFAULT="heat"
|
||||||
|
@ -149,13 +149,13 @@ fi
|
||||||
if ! $SERVICE_STATUS > /dev/null
|
if ! $SERVICE_STATUS > /dev/null
|
||||||
then
|
then
|
||||||
if [ -z "${ASSUME_YES}" ] ; then
|
if [ -z "${ASSUME_YES}" ] ; then
|
||||||
printf "$MYSQL_SERVICE is not running. Would you like to start it now? (y/n): "
|
printf "$SERVICE_MYSQLD is not running. Would you like to start it now? (y/n): "
|
||||||
read response
|
read response
|
||||||
case "$response" in
|
case "$response" in
|
||||||
y|Y)
|
y|Y)
|
||||||
;;
|
;;
|
||||||
n|N)
|
n|N)
|
||||||
echo "$MYSQL_SERVICE must be running. Please start it before proceeding."
|
echo "$SERVICE_MYSQLD must be running. Please start it before proceeding."
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue