1
0
Fork 0
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:
frju365 2019-01-04 21:03:36 +01:00 committed by GitHub
parent 8fd91f2c9d
commit 0dd28eaf5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,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 < ../conf/install.sql
ynh_mysql_execute_as_root < ../conf/install.sql $db_name
#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;"