[MDEV-26548] Rename .mysql_history to .mariadb_history Created: 2021-09-06  Updated: 2023-01-24  Resolved: 2023-01-24

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Fix Version/s: 11.0.1

Type: Task Priority: Critical
Reporter: Ian Gilfillan Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-23782 mariadb cli command writes to ~/.mysq... Closed
PartOf
is part of MDEV-30201 Remove MySQL names Open

 Description   

The binaries have been renamed, but the history file still maintains the old name, and should be renamed to match.

This change should be done in a manner that has the least impact for the end users during upgrade.

Suggested fix:

  • When 'mariadb' is starting check if '~/.mariadb_history' exists
  • If yes, use it
  • If not, check if ~/.mysql_history' exists
  • If yes, use it
  • If not, create ~/.mariadb_history and use it


 Comments   
Comment by Daniel Black [ 2023-01-10 ]

Per updated description, that's exactly what https://github.com/MariaDB/server/pull/2391 does.

Generated at Thu Feb 08 09:46:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.