On Monday 13 April 2009 23:42:08 kashani wrote:
> Alan McKinnon wrote:

> > Not at all. What you are seeing when pressing the up arrow is not
> > commands stored by MySQl, but commands stored by your shell. It's complex
> > to explain, so bear with me:
>
> I don't know about complicated.
>
> cd
> more .mysql_history
>
> Works just like .bash_history
>
> kashani

It's not .mysql_history that's complicated, it's the relationship between the 
mysql user and the unix user (no relationship at all) and the resulting clash 
of ideas in beginning user's minds that's complicated.

Most people assume that the mysql client somehow works like ssh, that when you 
get a ">" prompt you are logged in elsewhere. This of course, is not true, as 
you well know.

-- 
alan dot mckinnon at gmail dot com

Reply via email to