原因:库中表数据过大,加载、扫描慢导致;

解决方法:在进行数据库连接时不进行表扫描,使用参数 -A

-A, --no-auto-rehash 
                      No automatic rehashing. One has to use 'rehash' to get
                      table and field completion. This gives a quicker start of
                      mysql and disables rehashing on reconnect.


如:mysql -u root -p -A