mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
Store dbpass
This commit is contained in:
parent
fa32da99f3
commit
d8b2442e6f
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ dbname=$app
|
|||
dbuser=$app
|
||||
dbpass=$(ynh_string_random)
|
||||
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||
ynh_app_setting_set "$app" dbuser "$dbuser"
|
||||
ynh_app_setting_set "$app" dbpass "$dbpass"
|
||||
|
||||
# Store the database access
|
||||
echo -e "# MySQL Database"
|
||||
|
|
Loading…
Add table
Reference in a new issue