Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mysql client REPL history doesn't work inside Git Bash

1 view
Skip to first unread message

Andrew Pennebaker

unread,
Mar 1, 2013, 8:13:33 AM3/1/13
to
The mysql client REPL presents a handy history function in a Command Prompt; Pressing up/down navigates to past commands entered in the current session.

However, this functionality does not work when the mysql client is run in a Git Bash. In this case, pressing up or down does nothing.

Does anyone else experience this?

System:

$ specs mysql git os
Specs:

specs 0.2
https://github.com/mcandre/specs#readme

mysql --version
mysql Ver 14.14 Distrib 5.6.10, for Win32 (x86)

git --version
git version 1.8.0.msysgit.0

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 3 Build 2600

How to repeat:

1. Launch Command Prompt.
2. Enter "mysql -uroot".
3. Enter some commands, such as "show databases;".
4. Press up and down to navigate to past commands entered.
5. Install Git for Windows (http://git-scm.com/downloads).
6. Launch Git Bash.
7. Enter "mysql -uroot".
8. Enter some commands, such as "show databases;".
9. Press up and down. Notice the loss of history functionality.
0 new messages