Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using tab key to complete in mysql

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The tab key cannot be used for automatic completion by default in mysql. The automatic settings are as follows:

The complements here are table names, column names, and database names. Not commands, variables, etc., in the database.

On the mysql command line, use\ # to temporarily enable tab completion.

Add auto-rehash this field to the [mysql] section of mysql's configuration file my.cnf to achieve completion

Add the-- auto-rehash parameter to the mysql command

You can use a mycli tool.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report