On Monday 13 April 2009, Alan McKinnon wrote:
> 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.

Spot on!  I thought that mysql> is a different shell, hence the panic.

Thank you all for making this clear to me.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to