Bug #68718 No tab completion in Windows MySQL client.
Submitted: 19 Mar 2013 13:41 Modified: 25 Apr 2013 23:06
Reporter: Andrew Pennebaker Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:Ver 14.14 Distrib 5.6.10 OS:Windows (XP SP3 (x86))
Assigned to: CPU Architecture:Any
Tags: auto, auto-refresh, completion, readline, refresh, tab, windows

[19 Mar 2013 13:41] Andrew Pennebaker
The guides say that supplying the --auto-refresh flag on the command line, or adding [mysql] auto-refresh to my.ini in the installation directory, should be sufficient to turn on tab completion in the MySQL command line client.

I've tried both, but pressing TAB still inserts a literal TAB, it doesn't complete anything.

How to repeat:
1. Supply the --auto-refresh flag to the mysql command line client.
2. Begin typing "use <database-name>TAB".
3. Observe TAB failing to complete this, instead inserting a literal.
4. Repeat, adding [mysql] auto-refresh to my.ini.

Suggested fix:
It is said that MySQL v4.0 had tab completion in Windows, but that it broke in a successive upgrade.
[19 Mar 2013 15:11] MySQL Verification Team
Thank you for the bug report. Could you please point me where is mentioned in the Manual a variable called auto-refresh? . Thanks.
[20 Apr 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[24 Apr 2013 14:41] Andrew Pennebaker
My mistake, I meant to say --auto-rehash.

[25 Apr 2013 23:06] MySQL Verification Team
Thank you for the feedback. Duplicate of bug: http://bugs.mysql.com/bug.php?id=52374 .