Thursday, February 25, 2016

mysqldump Warning: mysqldump: ignoring option '--databases' due to invalid value 'simply'

mysqldump Warning: mysqldump: ignoring option '--databases' due to invalid value 'simply'

Reason: it was because I have the "database" line in my.cnf file. But, mysqldump doesn't like that parameter.

# cat ~/.my.cnf

[client]
user=root
host=127.0.0.1
password="root"
database=simply

Reference:

http://serverfault.com/questions/670648/mysqldump-complains-about-chosen-databases-regardless-of-command-line

No comments: