ERROR 1018 (HY000): Can't read dir of './test/' (errno: 13)

  不能查看mysql中数据库的表。

一、查看 

  mysql> desc test;
  ERROR 1046 (3D000): No database selected
  mysql> use test;
  Database changed
  mysql> show tables;
  ERROR 1018 (HY000): Can't read dir of './test/' (errno: 13)
  mysql> show tables;
  ERROR 1018 (HY000): Can't read dir of './test/' (errno: 13)

  类似问题【1】

二、解决,可能是数据库目录属性问题

  但是新建的数据库就没有类似的问题。create database poem;

-----------2016-5-5 10:21:18--

  参考资料:【1】mysql ERROR 1018 (HY000)

原文地址:https://www.cnblogs.com/mxh1099/p/5460857.html