在windows下将mysql数据库文件打包为tar后上传至linux服务器上,解包后登录mysql,然后输入use wp_1后出现如下提示(wp_1位数据库名)
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
之后就一直没有动静了麻烦高手帮忙看看问题在于哪里,页面读取数据库还是可以正常提取数据的,只是反应速度比较慢。

解决方案 »

  1.   

    估计在系统表tables、columns等里面没有这些表的数据字典信息造成的
    analyze table tb_name看看吧
      

  2.   

    可能是information_schema 数据库记录的表和列出现丢失也就是表损坏为题repair table
      

  3.   

    --auto-rehash Enable automatic rehashing. This option is on by default, which enables database, table, and column name completion. Use --disable-auto-rehash to disable rehashing. That causes mysql to start faster, but you must issue the rehash command if you want to use name completion. To complete a name, enter the first part and press Tab. If the name is unambiguous, mysql completes it. Otherwise, you can press Tab again to see the possible names that begin with what you have typed so far. Completion does not occur if there is no default database.估计是工作表 OR 系统表有问题了
      

  4.   

    你在使用mysql命令的是加个参数
    #>mysql -A -uroot -p 
    看看,应该就不会出现下面这个问题了
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A 
      

  5.   

    drwxr-xr-x 3 mysql mysql    3133440 Oct 23 11:24 wp_1这个是数据库wp_1的文件权限
      

  6.   

    不光是这个目录,还是下面的文件,也一起 ll 检查 一下
    另外可以试下 chmod 777 。
      

  7.   

    所有数据文件权限都正常,777我也尝试过,不起作用,而且mysql安装后默认的mysql和test库都是700,在mysql里面创建新库的话,都是700