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