注意:在命令行下只有切换到数据库之后,才能补全表名,对于命令是不能补全的。

1、my.conf增加如下配置:

[mysql]
#no-auto-rehash
auto-rehash         #添加auto-rehash

重启mysql服务,然后用客户端连接即可。

2、命令行增加参数

mysql -u root -p --auto-rehash

 

相关文章:

  • 2021-05-23
  • 2021-09-22
  • 2021-11-14
  • 2021-10-18
  • 2021-06-13
  • 2022-12-23
猜你喜欢
  • 2021-09-26
  • 2021-10-05
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-09-03
相关资源
相似解决方案