如何在mysql數據庫中開啟使用tab鍵補全功能


聲明:數據庫tab鍵補全的是表名,列名,數據庫名,不是數據庫中的命令,變量等

永久支持tab鍵補全
[root@localhost ~]# vim /etc/my.cnf
添加以下兩行:
[mysql]
auto-rehash
[root@localhost ~]# systemctl restart mariadb

臨時支持tab鍵補全
[root@localhost ~]# mysql -uroot -p123123 --auto-rehash

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM