Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
mysql> show databases;
ERROR 1018 (HY000): Can't read dir of '.' (errno: 13)
share|improve this question
Can you get anything? For example, \s. – igelkott Oct 9 '10 at 9:26
up vote 1 down vote accepted

this could be one of two issues, firstly a permissions issue which you should take a look - from point 6 down.

or indeed it could be that your client is using old style password hashes and your mysql server is using newer style password hashes. easy option is to use the new style password on your client which is normally a question of upgrading the client. however, since this seems to be access on a local db server I would try the first suggestion above.

share|improve this answer

Your Answer


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.