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


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参数时,就不预读数据库信息。
 
关键的因素是你的数据库变大了。系统变慢了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM