菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
422
0

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

原创
05/13 14:22
阅读数 83547

mysql -A不预读数据库信息(use dbname 更快)—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 -hhostname -uusername -ppassword -Pport 的方式进入数据,
       而没有使用
           mysql -hhostname -uusername -ppassword -Pport  -A的方式进入数据库。
 
           当我们打开数据库,即use   dbname时,要预读数据库信息,当使用-A参数时,就不预读数据库信息。
 
关键的因素是你的数据库变大了。系统变慢了

发表评论

0/200
422 点赞
0 评论
收藏
为你推荐 换一批