mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
clean restart
This commit is contained in:
parent
eb2bcad0c7
commit
66be80246c
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ echo "Creating pufferpanel account and installing database..."
|
|||
#mysql -D $db_name -h localhost -P 3306 -u $db_name --password="$db_pwd" < ../conf/install.sql
|
||||
#ynh_mysql_execute_as_root -D $db_name -u $db_user <<< "flush privileges;" ynh_die
|
||||
ynh_mysql_execute_as_root "$(cat ../conf/install.sql)" $db_name
|
||||
systemctl restart mariadb
|
||||
|
||||
#mysql -D $db_name -h localhost -P 3306 -u $db_name --password="$db_pwd" -e "SET GLOBAL event_scheduler = ON;"
|
||||
ynh_mysql_connect_as $db_user $db_pwd <<< "SET GLOBAL event_scheduler = ON;"
|
||||
|
|
Loading…
Add table
Reference in a new issue