Also check for successful mysql installation
This commit is contained in:
parent
b94090b85e
commit
a9756f6baf
|
@ -158,6 +158,11 @@ function install_mariadb {
|
||||||
exit 54
|
exit 54
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /usr/bin/mysql ]; then
|
||||||
|
echo $"ERROR: mariadb-server does not appear to have installed. $CHECK_MESSAGE"
|
||||||
|
exit 34672
|
||||||
|
fi
|
||||||
|
|
||||||
mysqladmin -u root password "$MARIADB_PASSWORD"
|
mysqladmin -u root password "$MARIADB_PASSWORD"
|
||||||
mark_completed $FUNCNAME
|
mark_completed $FUNCNAME
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue