![ERROR 1018 (HY000): Can't read dir of './test/' (errno: 13) ERROR 1018 (HY000): Can't read dir of './test/' (errno: 13)](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
不能查看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)