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 for the documentation of experience, problems and solutions I encounter.
No comments:
Post a Comment