mysql -A 不预读数据库信息(use 更快) Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A 

出现问题的原因是,我们进入mysql 时,没有使用 -A 参数

> mysql -h hostname -u username -p password -P port -A

当我们打开数据库,即 use database 时,要预读数据库信息,当使用 -A 参数时,就不预读数据库信息,关键的因素是你的数据库变大了,系统变慢了。

06-01 16:24