[debian-mysql] Bug#844071: mysql-client-5.5: history file is overwritten when you use more than one instance of the mysql program

alexander barakin (aka sash-kan) alex at barak.in
Sat Nov 12 08:42:07 UTC 2016


Package: mysql-client-5.5
Version: 5.5.50-0+deb8u1
Severity: normal

Dear Maintainer,

steps to reproduce the problem:

1. run two instances of the mysql program in the two shells:
 $ MYSQL_HISTFILE=/tmp/h mysql
 $ MYSQL_HISTFILE=/tmp/h mysql
2. execute some command in first instance, for example "1;"
3. exit the first instance. you will see the line "1;" in /tmp/h
4. execute another command in second instance, for example "2;"
5. exit the second instance.

expected result:
two lines in /tmp/h: "1;" and "2;"

instead we get:
one line in /tmp/h: "2;"



-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mysql-client-5.5 depends on:
ii  debianutils           4.4+b1
ii  libc6                 2.19-18+deb8u6
ii  libdbd-mysql-perl     4.028-2+deb8u1
ii  libdbi-perl           1.631-3+b1
ii  libgcc1               1:4.9.2-10
ii  libreadline6          6.3-8+b3
ii  libstdc++6            4.9.2-10
ii  libterm-readkey-perl  2.32-1+b1
ii  mysql-common          5.5.50-0+deb8u1
ii  perl                  5.20.2-3+deb8u6
ii  zlib1g                1:1.2.8.dfsg-2+b1

mysql-client-5.5 recommends no packages.

mysql-client-5.5 suggests no packages.

-- no debconf information



More information about the pkg-mysql-maint mailing list