声明:数据库tab键补全的是表名,列名,数据库名,不是数据库中的命令,变量等

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

临时支持tab键补全
[root@localhost ~]# mysql -uroot -p123123 --auto-rehash

 

相关文章:

  • 2021-12-26
  • 2022-01-01
  • 2021-08-11
  • 2021-06-13
  • 2021-09-14
  • 2021-05-11
猜你喜欢
  • 2021-04-02
  • 2022-12-23
  • 2021-10-24
  • 2022-02-26
  • 2021-11-06
  • 2022-12-23
  • 2021-09-16
相关资源
相似解决方案