The default setting for TAB completion in MySQL 4.1.7 with the mysql
client seems to be off. This is a PITA but what's a bigger PITA is that
it took me quite some time RTFM and STFW to find the answer, and at
that, it's incomplete. If I start the client with --enable-auto-rehash
TAB completion is enabled but as this is a rather long option to have
to type every time, I entered it in the [client] section of /etc/my.cnf
but this doesn't work.
I'm fairly sure that it is BEING read from /etc/my.cnf because if I
change its spelling slightly to e.g. xenable-auto-rehash I get an error
message on starting mysql unknown option: --xenable-auto-rehash
Any ideas which this doesn't work from the config file (and yes, I know
it's trivial to fix with aliases, scripts, shell functions, whatever)
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!