At 8:35 AM -0700 10-25-2000, Theodore Jones wrote:
>Hello,
>
>Can one log >into< mysqladmin interactively via a command prompt? I
>don't know another way but to type -p to provide a password
>interactively at a command shell prompt. I would like to set it so that
>I can just send it version, variables, reload statements etc., without
>having to type the password each time for the user that I am....?
Put the password in your ~/.my.cnf file:
[client]
password=xxx
Make sure the mode of ~/.my.cnf is 600 or 400 so other users can't read it.
--
Paul DuBois, paul@stripped