1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pufferpanel_ynh.git synced 2024-09-03 20:16:03 +02:00
This commit is contained in:
liberodark 2019-01-04 18:16:36 +01:00
parent 1a9c9cfd69
commit 7181f49cae

View file

@ -115,6 +115,7 @@ echo "Creating pufferpanel account and installing database..."
mysql -h localhost -P 3306 -u $db_name --password="$db_pwd" < ..config/install.sql
mysql -h localhost -P 3306 -u $db_name --password="$db_pwd" -e "SET GLOBAL event_scheduler = ON;"
echo "Installing user..."
mysql -h localhost -P 3306 -D $db_name -u $db_name --password="$db_pwd" -e "
INSERT INTO users VALUES (NULL, '${uuid}', '${username}', '${email}', '${password}', 'en_US', ${time}, NULL, NULL, 1, 0, 1, 0, NULL) ON DUPLICATE KEY UPDATE password='${password}'"