mysqldump and ~/.my.cnf
mysqldump is complaining that I have a bad --databases parameter -- I don't -- and it is because of my ~/.my.cnf file
[client]
host=localhost
user=amr
password=water.flow
database=h2o_amr
This file works fine for the other command line work I'm doing. Other than renaming the file, how can I alter this file or mysqldump, so the conflict does not occur?
amr@steamboy:~/bin$ mysqldump
Warning: mysqldump: ignoring option '--databases' due to invalid value 'h2o_amr'
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help
Data Processing Department
Town of Arlington
Arlington, MA
Subject
Written By
Posted
mysqldump and ~/.my.cnf
February 18, 2010 05:40PM
February 22, 2010 09:30PM
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.