diff options
author | Micah Anderson <micah@riseup.net> | 2011-12-30 12:22:50 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2011-12-30 12:22:50 -0500 |
commit | e68fdf60f5ddd2c5e3a3ec5cba4730b5124275ed (patch) | |
tree | b883db656bb388515c3c521c7cca6efb3d5600a4 /files/scripts/Debian | |
parent | dfd86c83a3032d1df92dda57884fcd9254f30ae5 (diff) | |
parent | eeb5febdaa11611443586dccc4432804f47a4271 (diff) |
Merge remote-tracking branch 'riseup/master'
Diffstat (limited to 'files/scripts/Debian')
-rw-r--r-- | files/scripts/Debian/setmysqlpass.sh | 2 |
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.* |