SyntaxFix
Write A Post
Hire A Developer
Questions
If you are tired of typing your password, create a (chmod 600) file ~/.my.cnf, and put in it:
~/.my.cnf
[client] user = "you" password = "your-password"
For the sake of conversation:
echo 'DROP DATABASE foo;' | mysql