Merge branch 'develop' into dist/eole/2.7.0/develop
This commit is contained in:
commit
24ff71f4a6
|
@ -38,6 +38,10 @@ function updateDB()
|
||||||
then
|
then
|
||||||
if [ $(CreoleGet one_database_type) = "mysql" ]; then
|
if [ $(CreoleGet one_database_type) = "mysql" ]; then
|
||||||
if [ $(CreoleGet one_ha_server_index 0) = "0" ]; then
|
if [ $(CreoleGet one_ha_server_index 0) = "0" ]; then
|
||||||
|
HOST=$(CreoleGet one_database_host)
|
||||||
|
DB=$(CreoleGet one_database_name)
|
||||||
|
USER=$(CreoleGet one_database_user)
|
||||||
|
PASS=$(CreoleGet one_database_pass)
|
||||||
$cmd upgrade -f -u $USER -p $PASS -d $DB -S $HOST
|
$cmd upgrade -f -u $USER -p $PASS -d $DB -S $HOST
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue