1

Using Ubuntu, my .my.cnf contains

[mysql]
auto-rehash
[mysqld]
secure-file-priv = ""  

Suppose, I have a table provider; When I type describe provi and Tab it should autocomplete describe provider

mysql>describe provi

Tab

mysql>describe provider

ostergaard
  • 3,377
  • 2
  • 30
  • 40
  • Possible duplicate of [Autocomplete in MySQL under Windows](https://stackoverflow.com/questions/269653/autocomplete-in-mysql-under-windows) – ostergaard Mar 31 '18 at 06:53
  • @ostergaard Their solution is `[mysql] auto-rehash` adding in `.my.cnf`. But you saw that I mentioned that I already edited my `.my.cnf` with that. Then why tab completion doesn't work for me? –  Mar 31 '18 at 10:19
  • are you using Microsoft Windows? – ostergaard Mar 31 '18 at 11:24
  • @ostergaard No, I am using Ubuntu. –  Mar 31 '18 at 13:16
  • does it work if you type \# at the SQL prompt? (described in this answer: https://stackoverflow.com/a/13096442/1662031) – ostergaard Apr 02 '18 at 07:46
  • @ostergaard This works for table name completion. Don't complete `describe` command from `describ`. –  Apr 02 '18 at 08:28
  • Which is clearly a different problem/question - agreed? – ostergaard Apr 02 '18 at 08:31

0 Answers0