首页 > 其他 > 详细

get a quicker startup with -A

时间:2017-08-24 19:24:07      阅读:243      评论:0      收藏:0      [点我收藏+]

MariaDB [(none)]> use laravel;

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 -uusername -ppassword -hhostname -Pport 的方式进入数据,

       而没有使用

           mysql -uusername -ppassword -hhostname -Pport  -A的方式进入数据库。

    当数据库比较庞大的时候,我们打开数据库,即use dbname时,要预读数据库信息,这样系统会出现卡顿问题,当使用-A参数时,就不预读数据库信息。

MariaDB [(none)]> use laravel -A;

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A


Database changed



本文出自 “跛鳖千里,贵在分享” 博客,请务必保留此出处http://chenxiaotao.blog.51cto.com/11430805/1959059

get a quicker startup with -A

原文:http://chenxiaotao.blog.51cto.com/11430805/1959059

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!