使用tab自动补全mysql命令

2015-07-24 10:22:22 ? 作者: ? 浏览: 2
1.使用mysql --help查看mysql的命令参数
注意
--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.
(Defaults to on; use --skip-auto-rehash to disable.)
2.临时使用

# mysql -u root -p --auto-rehash

\

会有提示,可以不理睬

切换到数据库

数据库,然后调用tab键测试吧

注意:自动补全是客户端命令,必须切换到数据库下才能使用

-->

评论

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