Bug #37243 history of commandline in mysql.exe does not work under cygwin
Submitted: 6 Jun 2008 10:30 Modified: 6 Jun 2008 15:30
Reporter: Hans Ginzel Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:Ver 14.12 Distrib 5.0.51a, for Win32 (ia OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: commandline history, cygwin

[6 Jun 2008 10:30] Hans Ginzel
Description:
Under CygWin
GNU bash, version 3.2.33(18)-release (i686-pc-cygwin)
does not work the commandline history of mysql.exe.

History of commands in CygWin's bash works well.

How to repeat:
Start bash from CygWin,
start mysql.exe,
write command e.g. show databases;
press UpArrow

Previous command should appear, but nothings happen.
[6 Jun 2008 15:30] MySQL Verification Team
Thank you for the bug report. I could no repeat on my environment:

miguel@skybr /cygdrive/c/dbs/5.0
$ bin/mysql -uroot --port=3307
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.51b-community-nt MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| db7                |
| mydb               |
| mysql              |
| sakila             |
| test               |
| testdb             |
+--------------------+
7 rows in set (0.08 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| db7                |
| mydb               |
| mysql              |
| sakila             |
| test               |
| testdb             |
+--------------------+
7 rows in set (0.00 sec)

mysql>