解决:Reading table information for completion of table and column names

发布时间:2020-06-16 10:55:13 作者:yzy121403725
来源:网络 阅读:5405

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

解决:Reading table information for completion of table and column names

mysql> 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参数时,就不预读数据库信息。


推荐阅读:
  1. Mysql无法远程连接解决方案
  2. linux 安装mysql 5.7.21详解以及安装过程中所遇问题解决

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

mysql fo comp

上一篇:解决text-overflow: ellipsis;不生效的问题

下一篇:虚拟机上配置gre隧道

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》