You coppied it as root, and mysql does not own it.
chown -R mysql /var/lib/mysql
Nandakumar wrote:
> Hi all,
> I am working on Redhatversion 6.2. I used Mysql version 3.22.xx
> before . I took the back up of all datas. I formatted my machine 2 weeks
> back. I installed mysql version 3.23.33 using rpm file. Now i copied the
> backedup datas to /var /lib/mysql directory.I can start the mysql daemon
> smoothly. But when I start using the database,the following errorcode is
> displayed
>
> Can't read dir of './backedupdatabase/' (Errcode: 13)
>
> I am able to create new database and use that one.
> Can anybody pls help me out.
>
> Thank U,
> Nandakumar.
>
>
> ---------------------------------------------------------------------
> 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
--
Gerald L. Clark
[EMAIL PROTECTED]
---------------------------------------------------------------------
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