I would like to use tab completion when using the MySQL REPL accessed by running wp db cli
. However it doesn't seem to work, even though my ~/.my.cnf
file contains this content:
[mysql]
auto-rehash
If I use the mysql
command directly, tab completion does work.
Running wp db cli --defaults
doesn't seem to fix the problem.
\#
and press enter in the MySQL REPL. That should enable tab completion.