I had sudo, so the solution was:
sudo /etc/init.d/mysql stop
sudo mysqld_safe --skip-grant-tables &
mysqldump --all-databases | gzip > /tmp/alldb.gz
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start
there, I told you it was a quickie.
This is my electronic log book where I document experience, problems and solutions I encounter while in front of a computer.
0 comments:
Post a Comment