"Kay Aleksic" <[EMAIL PROTECTED]> wrote:
> I am dealing with my first MySQL server/db, and I ran into some trouble.
>
> The server where the db was located got hacked and I had to reinstall the
> whole thing. The old HD is preserved as was and the server got a new HD. I
> moved the old db to the new disk and when I try to access it, I get the
> following error:
>
> mysql> use thedb;
> Can't read dir of './thedb/' (Errcode: 13)
> Database changed
> mysql> show tables;
> ERROR 12: Can't read dir of './thedb/' (Errcode: 13)
> mysql>

I have seen this error when the database (which exists as a directory on the
filesystem) or tables (files within this directory) are not owned by the
same user that MySQL runs under.  It's also possible you would get the same
error if that user doesn't have read permissions.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to