mysql - SSH connection frozen on "enter password" after "watch mysqladmin" -
the server we're using linode running debian 7. i'm using terminal on os x connect via ssh.
while connected box via ssh, typed "watch mysqladmin -u root -p password" , prompted me "enter password:". , it's stuck there.
typing password , pressing enter nothing. control-c didn't work. console unresponsive.
any ideas on how can exit prompt? i'm relatively new command line appreciated.
if try running mysqladmin directly, using
mysqladmin -u root -p password
then you'll see half problem password isn't getting passed mysqladmin. try removing space:
mysqladmin -u root -ppassword
the watch command not intended running interactive code - hence doesn't read type @ prompt - , isolates command terminal.
i can't imagine reason runnning mysqladmin via watch - doing do, account on box able see root mysql password - safer use user options file set password.
as terminating existing process, if sigint (ctrl+c) doesn't work, try sigquit (ctrl+\) , if doesn't work try killproc watch
wrikken suggests (ctrl+d unlikely work if sigs on't work)
Comments
Post a Comment