Help us understand the problem. What is going on with this article?

MySQLでuseしたらエラーっぽいメッセージが出たので調べた

普通にテーブルをuseしようとしたら

mysql> use xxx
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

って出たんだけど、問題なく使えてるっぽい。

調べてみたら
xxxをTabで補完しようとすると出るみたい。たしかに使ってやったわ。

で、メッセージの意味は、
テーブル名と項目名を補完=completionするために、テーブル情報を読んでます。
-Aコマンドでこの機能をオフにすると起動を早めることができます。

っていうことらしいね。

でも長い名前はTabキーで補完してくれないと大変だから、このままにするよ。

もしオフにしたいなら、MySQL起動時に mysql -A -u root -p ってやると良いみたいです。

参考:
[MySQL] “Reading table information for completion of table and column names”ってなにかを教えちゃいますの巻
https://blog.trippyboy.com/2013/mysql/mysql-reading-table-information-completion-table-column-names%E3%81%A3%E3%81%A6%E3%81%AA%E3%81%AB%E3%81%8B%E3%82%92%E6%95%99%E3%81%88%E3%81%A1%E3%82%83%E3%81%84%E3%81%BE%E3%81%99/

【MySQL】コマンドラインツールでDBを指定したときに時間がかかる時の対処法
https://blog.tgr.wtf/%E3%80%90mysql%E3%80%91%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%83%A9%E3%82%A4%E3%83%B3%E3%83%84%E3%83%BC%E3%83%AB%E3%81%A7db%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%97%E3%81%9F%E3%81%A8%E3%81%8D%E3%81%AB-417.html

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした