mirror of
https://github.com/YunoHost/example_ynh.git
synced 2024-09-03 20:06:13 +02:00
db_user=db_name
This commit is contained in:
parent
ce94b06940
commit
30e17b5d73
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ ynh_print_info "Creating a MySQL database..."
|
|||
### - As well as the section "RESTORE THE MYSQL DATABASE" in the restore script
|
||||
|
||||
db_name=$(ynh_sanitize_dbid $app)
|
||||
db_user="user_"$db_name
|
||||
db_user=$db_name
|
||||
ynh_app_setting_set $app db_user $db_user
|
||||
ynh_app_setting_set $app db_name $db_name
|
||||
ynh_mysql_setup_db $db_user $db_name
|
||||
|
|
Loading…
Add table
Reference in a new issue