Autocompletion in the MySQL command-line client

后端 未结 7 1787
半阙折子戏
半阙折子戏 2020-12-22 16:44

In Linux, and many other systems, when navigating the terminal you can press Tab to auto complete a directory or file name.

I\'m wondering if there is any

相关标签:
7条回答
  • 2020-12-22 17:26

    Some notes about auto-rehash:

    When you enable autocompletion editing the mysql config file..

    [mysql]
    auto-rehash
    

    You can do it for all users or only for one user:

    /etc/my.cnf: All Users

    ~/.my.cnf: Actual user

    You can also disable autocompletion adding:

    no-auto-rehash
    

    Extracted from: http://www.sysadmit.com/2016/08/linux-mysql-autocompletar.html

    0 讨论(0)
提交回复
热议问题