From 385007ad099b296a07a10b2dde78b9e9207904ae Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Sun, 31 Oct 2021 17:11:11 -0400 Subject: [PATCH] Update createdb.sh --- scripts/createdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/createdb.sh b/scripts/createdb.sh index 80bee01..7f05db3 100755 --- a/scripts/createdb.sh +++ b/scripts/createdb.sh @@ -36,7 +36,7 @@ CREATE TABLE IF NOT EXISTS detections ( Sens FLOAT, Overlap FLOAT); GRANT ALL ON birds.* TO 'birder'@'localhost' IDENTIFIED BY '${DB_PWD}' WITH GRANT OPTION; - +FLUSH PRIVILEGES; exit EOF sed -i "s/databasepassword/${DB_PWD}/g" /home/pi/BirdNET-Pi/analyze.py