>I have recently installed mysql 22.16.20a on rhl 5.2
>
>When I go to create a database, it says that it cannot access dir '.'
>
>It also refers to errcode 2 and errno 2. Unfortunately the
>documentation's explanation does not really apply.
>
>How do I get around this and create a database?
You can't - errno 2 is, according to /usr/include/asm/errno.h, "No such file
or directory". It's obviously trying to create a database in a directory
that doesn't exist.
As an aside, it would really be nice of MySQL gave human readable error
messages in addition to just dumping errno.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.