zoukankan      html  css  js  c++  java
  • Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

    如下:

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

    造成的原因 :

    1.于MYSQL中数据库太大,导致读取预读时间太长,从而显示这个提示

    2.如果之前都没有遇到这个问题,那么产生这个问题的原因可能是由于有改变数据库信息的操作,比如drop一个很大的表(几千万数据)而中途终止.

    解决办法:先查看当前的进程情况,:

    mysql> show processlist ;

    如果发现info列提示有lock的信息,找到id,kill 掉。

    也可以按照提示信息,链接的时候加上-A :

    如:

    mysql -uuser -ppwd -hip -A --default-character-set=utf8
  • 相关阅读:
    python3内置函数大全
    字符串格式化及函数
    基础数据和编码
    python基本数据类型
    python基础
    python re模块
    python json模块
    python os模块
    python random模块
    python time模块
  • 原文地址:https://www.cnblogs.com/ddddemo/p/5670877.html
Copyright © 2011-2022 走看看