Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm getting the following error when I run SHOW TABLES query,

mysql> show tables;
ERROR 1018 (HY000): Can't read dir of './list/' (errno: 12)

Can anyone explain me what is causing this ?

My datadir is /opt/data.

Thanks.

share|improve this question
    
What operating system are you using? What are the permissions for /opt/data ? –  blueben Mar 28 '11 at 7:14
    
@blueben permisson problems would be errno: 13 I think –  fab Mar 28 '11 at 7:51
    
Can you add the output of ls -al /opt/data ? –  nickgrim Mar 28 '11 at 9:59

1 Answer 1

That errno: 12 usually indicates an Out of memory Error.
Check your available Memory.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.