如果在mysql命令行临时开启自动补全?

©   老男孩老师    /    2017-08-30

如果在mysql命令行临时开启自动补全?

第一步在mysql下执行:rehash;
第二步use在一个库中:use mysql;然后就可以愉快的使用了




例如:

MariaDB [(none)]> rehashMariaDB [(none)]> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [mysql]> commcommand_type  comment       
MariaDB [mysql]> comm

注意哦,有的命令只能通过大写才能补全例如SELECT、SET等

本文章版权归老男孩教育所有。转载请注明出处。有任何疑问可以随时给我们网站留言。
本文链接:http://www.oldboyedu.com/tuijian_wenzhang/index/id/71.html

(0)

分享至