mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
up
This commit is contained in:
parent
1a9c9cfd69
commit
7181f49cae
1 changed files with 1 additions and 0 deletions
|
@ -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}'"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue