[debian-mysql] Bug#799296: Bug#799296: mysql-client-5.6: upgrading from 5.5 to 5.6 with client running lost client command history

The Wanderer wanderer at fastmail.fm
Fri Sep 18 15:36:48 UTC 2015


On 2015-09-17 at 12:48, Clint Byrum wrote:

> Sorry that you had this happen. I wonder if the important commands
> were mysql grants for users?

It's not impossible that some of the oldest commands in the history
might have been such grants, but most of the history was more mundane
select and update queries - albeit ones with enough complexity to be a
pain to construct.

> More likely would be that perhaps you had the mysql client wrapped
> with a shell script that changed MYSQL_HISTFILE to something other
> than ~/.mysql_history ?

Not as far as I know. I haven't intentionally written any such wrapper;
as far as I know, what I was running was the version of /usr/bin/mysql
which is provided by mysql-client 5.5.44-0+deb8u1.

I also still have a backup copy of a (much) older ~/.mysql_history, from
before this database even existed, at a path and filename which seems to
indicate that I copied it from the name ~/.mysql_history. For whatever
that's worth.

> Thanks for reporting anyway, we'll try and figure this one out.

You're quite welcome. In the unlikely event that there's anything I can
do to help track this down, please don't hesitate to let me know.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20150918/1e69eaf4/attachment.sig>


More information about the pkg-mysql-maint mailing list