设为首页 加入收藏

TOP

MYSQL:如何使用MYSQL命令行的自动补全功能
2014-11-24 07:27:58 来源: 作者: 【 】 浏览:2
Tags:MYSQL 如何 使用 命令 自动 功能

MYSQL:如何使用MYSQL命令行的自动补全功能
使用MYSQL -I命令,查看MYSQL命令的参数,其中对--auto-rehash参数的说明如下:
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
www.2cto.com
网上也找了一些资料,说是打开MYSQL的自动补全功能,类似于LINUX的TAB键补全功能。
但如下使用该参数后,输入SQL命令,中途按TAB健,并未出现自动补全的效果,不知道如何操作:
[sql]
C:\Users\qxl> mysql -u root --auto-rehash
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 29
Server version: 5.1.28-rc-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use test
Database changed
mysql> select * from newnam
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇找回mysql 的root密码 下一篇如何使用SQL Profiler性能分析器

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·PostgreSQL 索引 - (2025-12-25 22:20:43)
·MySQL Node.js 连接 (2025-12-25 22:20:41)
·SQL 撤销索引、表以 (2025-12-25 22:20:38)
·Linux系统简介 (2025-12-25 21:55:25)
·Linux安装MySQL过程 (2025-12-25 21:55:22)