I've been looking for a way to disable logging to mysql_history on a global
basis. Does anyone know of a way to do this? If so, please e-mail me at
this address (I don't check the list). If not, can someone tell me how to
submit a feature request?
My current work-around is to create the file ~/.mysql_history with no
permissions so that MySQL can't write it if it wanted to. Fortunately
MySQL doesn't complain about that and lets me go.
I'm looking for something like a command line option:
mysql --history=no
and/or the related functionality in the /etc/my.cnf file.
The problem I have is that a lot of my users type passwords into their
MySQL queries to insert them into the tables and then other users without
MySQL access come along and look at the first user's .mysql_history file
(which is created 644 by default) to look at the passwords. Then they go
to the web site that the first user setup and pretend to be the other
people who's passwords were in the history file. I'd like to be able to
setup my site so that by default it doesn't write a history file unless the
user specifies mysql --history=yes or the equivalent.
Thanks,
Thomas.
Please send replies to [EMAIL PROTECTED], I don't check the list.
---------------------------------------------------------------------
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