docs icon indicating copy to clipboard operation
docs copied to clipboard

mysqldump fails from command line with provided command

Open GuimLe opened this issue 4 years ago • 0 comments

On this guide, when you execute the following command on a 5.5 MySQL :

mysqldump --host=adresse_du_serveur --user=nom_utilisateur --password=mot_de_passe_utilisateur nom_base_de_données > nom_fichier_sauvegarde.sql

the dump succeed but showing the following error :

'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

To prevent this error, add the option --no-tablespaces to the command, like this :

mysqldump --host=adresse_du_serveur --user=nom_utilisateur --password=mot_de_passe_utilisateur --no-tablespaces nom_base_de_données > nom_fichier_sauvegarde.sql

GuimLe avatar May 12 '21 09:05 GuimLe