Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command line history

Status
Not open for further replies.

hekot

Programmer
Joined
Jul 30, 2003
Messages
3
Location
HK
Hi everyone, I maintained a mysql server (v3.23.49) using telnet and I use the same account with someone.
The mysql> prompt keeps all commands I typed and the people using the same account can use the UP key to see the command history.
However I wanna disable the function and clear all history.
Does anyone know how to do that?

Thanks in advanced

Peter
 
I don't know how to tell the mysql app to stop recording commands.

I do know that the commands themselves are stored in the file .mysql_history in the home directory of the user.

You can delete that file without mysql's failing.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top