From bfdc46b7497037c8d271cf601abed6b98499c548 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Sun, 10 Oct 2021 15:33:54 -0400 Subject: [PATCH] replace default password with set password --- scripts/createdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/createdb.sh b/scripts/createdb.sh index a1e9055..b42b269 100755 --- a/scripts/createdb.sh +++ b/scripts/createdb.sh @@ -39,4 +39,4 @@ GRANT ALL ON birds.* TO 'birder'@'localhost' IDENTIFIED BY '${DB_PWD}' WITH GRAN exit EOF - +sed -i "s/databasepassword/${DB_PWD}/g" /home/pi/Birding-Pi/analyze.py