summaryrefslogtreecommitdiff
path: root/files/scripts/Debian/setmysqlpass.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/scripts/Debian/setmysqlpass.sh')
-rw-r--r--files/scripts/Debian/setmysqlpass.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/scripts/Debian/setmysqlpass.sh b/files/scripts/Debian/setmysqlpass.sh
index 5bd63e2..427daf0 100644
--- a/files/scripts/Debian/setmysqlpass.sh
+++ b/files/scripts/Debian/setmysqlpass.sh
@@ -8,7 +8,7 @@ test $# -gt 0 || exit 1
sleep 5
echo "USE mysql; UPDATE user SET Password=PASSWORD('$1') WHERE User='root' AND Host='localhost';" | mysql -u root
killall mysqld
-sleep 5
+sleep 15
# chown to be on the safe side
ls -al /var/lib/mysql/mysql-bin.* &> /dev/null
[ $? == 0 ] && chown mysql.mysql /var/lib/mysql/mysql-bin.*