OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Annoying .mysql_history problem

From: kabel (listsvoidship.net)
Date: Tue Mar 31 2009 - 09:56:35 CDT


Using MySQL 5.0.67 on OpenSolaris 2008.11, whenever I hit Ctrl-C to
terminate a long-running test query, it hangs while it kills the thread.
  No problem here. If I accidentally (or impatiently) hit Ctrl-C again,
it terminates the MySQL CLI. Again, no problem here. What's getting me
is that on Ubuntu, everything up to that point was still written to
.mysql_history, while on OSol it only goes back as far as my last clean
exit.

Is there any way to get the Ubuntu behavior? I know the easy answer is
"Don't use Ctrl-C, you hack" but I'd kind of like the .mysql_history to
be written as I go.

Thanks for any pointers,

kabel

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql