Commit 25544bbe authored by Steven Mondji-Lerider's avatar Steven Mondji-Lerider

Backporting remote sql server configuration bugfix from 3.1~alpha1

parent 93a280cc
......@@ -311,13 +311,25 @@ fi
db_get alternc/mysql/user
if [ -z "$RET" ]
then
db_set alternc/mysql/user "$MYSQL_USER"
db_get alternc/mysql/remote_user
if [ -z "$RET" ]
then
db_set alternc/mysql/user "$MYSQL_USER"
else
db_set alternc/mysql/user "$RET"
fi
fi
db_get alternc/mysql/password
if [ -z "$RET" ]
then
db_set alternc/mysql/password "$MYSQL_PASS"
db_get alternc/mysql/remote_password
if [ -z "$RET" ]
then
db_set alternc/mysql/password "$MYSQL_PASS"
else
db_set alternc/mysql/password "$RET"
fi
fi
db_get alternc/mysql/client
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment