mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
Update install
This commit is contained in:
parent
5876111070
commit
73e19ffae4
1 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,7 @@ db_user=$db_name
|
|||
|
||||
echo "Creating pufferpanel account and installing database..."
|
||||
#mysql -h localhost -P 3306 -u $db_name --password="$db_pwd" < ..config/install.sql
|
||||
ynh_mysql_execute_as_root "SET FOREIGN_KEY_CHECKS = 0;" $db_name
|
||||
ynh_mysql_connect_as $db_user $db_pwd $db_name < ..config/install.sql
|
||||
#mysql -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