Quote:
Originally Posted by strycnine
with mysqldumb I must loggin with a user passwd. I 'm trying to say if there is a way to dumb all databases of user x, while I'm logged with root(in mysql).
I'm triying to do mysqldumb -u x -p --all-databases > db.sql but from root user.
|
shutdown mysql.
add this
to my.cnf, under [mysqld] section, then restart mysql.
then you can run mysqldump without a password.
Remember to remove the skip-grant-tables and restart mysql when you are done.