Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2318289
  • 博文数量: 473
  • 博客积分: 12252
  • 博客等级: 上将
  • 技术积分: 4307
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-12 10:02
文章分类

全部博文(473)

文章存档

2012年(8)

2011年(63)

2010年(73)

2009年(231)

2008年(98)

分类: Mysql/postgreSQL

2011-03-11 11:25:19

今天在看mysql的配置文件的时候,发现有"auto-rehash"不明白什么意思,在此记录一下,auto-rehash是自动补全的意思,就像我们在linux命令行里输入命令的时候,使用tab键的功能是一样的,例如:
  1. mysql> use mysql
  2. Reading table information for completion of table and column names
  3. You can turn off this feature to get a quicker startup with -A

  4. Database changed
  5. mysql> select host
  6. host.Alter_priv host.Alter_routine_priv host.Create_priv host.Create_routine_priv
  7. host.Create_tmp_table_priv host.Create_view_priv host.Db host.Delete_priv
  8. host.Drop_priv host.Execute_priv host.Grant_priv host.Host
  9. host.Index_priv host.Insert_priv host.Lock_tables_priv host.References_priv
  10. host.Select_priv host.Show_view_priv host.Trigger_priv host.Update_priv
  11. host
  12. mysql> select host
默认是不使用自动补全功能的,这个参数在配置文件中的[mysql]下面
阅读(8525) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~