MYSQL: How to Use the MYSQL command line auto-completion Function

Source: Internet
Author: User
Tags rehash


MYSQL: How to Use the MYSQL command line auto-completion function to use the MYSQL-I command to view the MYSQL command parameters. The -- auto-rehash parameter is described as follows: -- 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 also found some information on the Internet, saying that it is similar to the linux tab key complementing function to enable the automatic complementing function of MYSQL. However, after using this parameter as follows, enter the SQL command and press TAB in the middle. No auto-completion effect is displayed and you do not know how to perform this operation: [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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.