get a quicker startup with -A

MariaDB [(none)]> use laravel;mysql

Reading table information for completion of table and column nameslaravel

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

出现问题的缘由是::数据库

       咱们进入mysql 时,没有使用-A参数;ide

       即咱们使用ui

           mysql -uusername -ppassword -hhostname -Pport 的方式进入数据,this

       而没有使用orm

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

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

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

相关文章
相关标签/搜索