mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
Update install
This commit is contained in:
parent
9062b2e9e0
commit
30cc89463e
1 changed files with 2 additions and 2 deletions
|
@ -81,9 +81,9 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||||
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
||||||
|
|
||||||
# Set the user chosen at installation as administrator
|
# Set the user chosen at installation as administrator
|
||||||
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < $final_path/db/SCHEMA.sql
|
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < "$final_path/db/SCHEMA.sql"
|
||||||
|
|
||||||
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < CREATE USER '$db_user'@'%' IDENTIFIED BY '$db_pwd'; GRANT ALL ON `$db_name`.* TO '$db_user'@'%'; FLUSH PRIVILEGES;
|
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < "CREATE USER '$db_user'@'%' IDENTIFIED BY '$db_pwd'; GRANT ALL ON `$db_name`.* TO '$db_user'@'%'; FLUSH PRIVILEGES;"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue