List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:October 25 2000 4:04pm
Subject:Re: mysqladmin interactive mode?
View as plain text  
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
Thread
mysqladmin interactive mode?Theodore Jones25 Oct
  • Re: mysqladmin interactive mode?Paul DuBois25 Oct