diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-08-10 01:56:35 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-08-11 00:17:56 +0300 |
commit | 3dd9945fd64e9b1049dfe0fe7b87239c8465b0ab (patch) | |
tree | 21fae5fcadc25d9d316e546a496730b879857ea0 /etc/nextcloudpi-config.d/nc-init.sh | |
parent | a6b79b433f3bd99196b0360c167d5ec9bf6af3d6 (diff) |
restore from other instance fixv0.19.2
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-init.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/nc-init.sh b/etc/nextcloudpi-config.d/nc-init.sh index b0107e0a..77430b42 100644 --- a/etc/nextcloudpi-config.d/nc-init.sh +++ b/etc/nextcloudpi-config.d/nc-init.sh @@ -49,7 +49,7 @@ configure() # workaround to emulate DROP USER IF EXISTS ..;) local DBPASSWD=$( grep password /root/.my.cnf | cut -d= -f2 ) - mysql -u root -p$DBPASSWD <<EOF + mysql -u root <<EOF DROP DATABASE IF EXISTS nextcloud; CREATE DATABASE nextcloud CHARACTER SET utf8mb4 |