聲明:數據庫tab鍵補全的是表名,列名,數據庫名,不是數據庫中的命令,變量等
永久支持tab鍵補全
[root@localhost ~]# vim /etc/my.cnf
添加以下兩行:
[mysql]
auto-rehash
[root@localhost ~]# systemctl restart mariadb
臨時支持tab鍵補全
[root@localhost ~]# mysql -uroot -p123123 --auto-rehash
聲明:數據庫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刪除。