mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
Show more meaningful error message if db deployment fails when "mysql" is missing from PATH.
This commit is contained in:
parent
954dacdbda
commit
978a9c7df4
@ -51,6 +51,9 @@ if [ $mysqlout -eq 1 ]; then
|
||||
printf "Error: Cannot execute create-database.sql\n"
|
||||
exit 10
|
||||
fi
|
||||
elif [ $mysqlout -eq 127 ]; then
|
||||
printf "Error: Cannot execute create-database.sql - mysql command not found.\n"
|
||||
exit 11
|
||||
elif [ $mysqlout -ne 0 ]; then
|
||||
printf "Error: Cannot execute create-database.sql\n"
|
||||
exit 11
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user