diff options
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-nextcloud.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-nextcloud.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/nc-nextcloud.sh b/etc/nextcloudpi-config.d/nc-nextcloud.sh index 098c0337..6b366f1a 100644 --- a/etc/nextcloudpi-config.d/nc-nextcloud.sh +++ b/etc/nextcloudpi-config.d/nc-nextcloud.sh @@ -111,7 +111,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 <<EOF DROP DATABASE IF EXISTS nextcloud; CREATE DATABASE nextcloud CHARACTER SET utf8mb4 |