Autocompletion in the MySQL command-line client

后端 未结 7 1808
半阙折子戏
半阙折子戏 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:24

    To enable autocomplete within the MySQL prompt type:

    mysql> \#
    

    After that you can type:

    mysql> describe someTableW[TAB]
    

    To get:

    mysql> describe someTableWithRidiculousLongName
    

提交回复
热议问题