MySQL Forums
Forum List  »  Newbie

Re: mysqldump and ~/.my.cnf
Posted by: Rick James
Date: February 22, 2010 09:30PM

Interesting.

Suggest you write a bug at http://bugs.mysql.com saying that --database=db does not work properly.

$ mysqldump  --defaults-file=.my.cnf --print-defaults
mysqldump would have been started with the following arguments:
--host=localhost --user=amr --password=water.flow --database=h2o_amr
Yet, when running it, it complains about --databases (plural):
$ mysqldump --host=localhost --user=amr --password=water.flow --database=h2o_amr
Warning: mysqldump: ignoring option '--databases' due to invalid value 'h2o_amr'

Options: ReplyQuote


Subject
Written By
Posted
February 18, 2010 05:40PM
Re: mysqldump and ~/.my.cnf
February 22, 2010 09:30PM
March 02, 2010 09:12PM
March 03, 2010 10:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.