mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Update upgrade
This commit is contained in:
parent
eb85c735e4
commit
05470ca414
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
|
||||
if [ $database = "mysql" ]; then
|
||||
db_type=0
|
||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||
db_user=$db_name
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||
# Change your databases character set and collation
|
||||
ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name \
|
||||
|
|
Loading…
Add table
Reference in a new issue