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:16:04 +01:00 committed by GitHub
parent 85d98f07c3
commit b80c8d1fd7
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 $(cat ../conf/install.sql) $db_name
ynh_mysql_execute_as_root "$(cat ../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;"