Mysqldump se plaint des options de ligne de commande que je n'ai jamais spécifiées. Je n'ai pas d'alias de shell ni d'ensemble de fichiers .my.cnf personnalisé. Qu'est-ce que je fais mal?
En utilisant l' --database
option longue:
$ mysqldump --user cloud -p --database cloud > backup.mysqldb
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
Warning: mysqldump: ignoring option '--databases' due to invalid value 'cloud'
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
En utilisant l' --databases
option longue:
$ mysqldump --user cloud -p --databases cloud > backup.mysqldb
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
Warning: mysqldump: ignoring option '--databases' due to invalid value 'cloud'
En utilisant l' --all-databases
option longue:
$ mysqldump --user cloud -p --all-databases > backup.mysqldb
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
Warning: mysqldump: ignoring option '--databases' due to invalid value 'cloud'
En utilisant uniquement le nom de la base de données:
$ mysqldump --user cloud -p cloud > backup.mysqldb
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
Warning: mysqldump: ignoring option '--databases' due to invalid value 'cloud'
Et enfin, sans rien préciser :
$ mysqldump --user cloud -p > backup.mysqldb
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.
Warning: mysqldump: ignoring option '--databases' due to invalid value 'cloud'
/etc/my.cnf
(et ses inclus) et $HOME/.my.cnf
fichiers.
/etc/my.cnf
ou/etc/mysql/conf.d
ou lieux similaires?