it matters what you run the mysql client as
if I'm root
root: #> mysql -u foo -p
the program mysql is running as root and hense writes the history file to
root's home dir.
if I'm me
andrew: $> mysql -u foo -p
it'll write it to ~andrew/.mysql_history
regards,
-- Andrew
----- Original Message -----
From: "Scott Meesseman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 4:25 PM
Subject: history file
> Hi
>
> Does anyone know why no matter what user I log into my database undr, the
> only history file that is being written to is root's :
>
> /root/.mysql_history
>
> Why is a history file not created in the users home directory?
>
> Thank You so much to anyone who has the time to help.
>
> Scott
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php