Thanks that was it - just had to chmod 755 on the database directory and
then went into the database directory and did a chmod 755 *.*. So now
when I mysql edutime I don't get an error message and I can describe
each table fine.
Is it ok to chnmod 755 on all these files or should I use another
permission setup??
Don't want to give anyone access to all these files.
Thansk,
Douglas
Dan Nelson wrote:
>
> In the last episode (Dec 04), Douglas Brantz said:
> > Big question:
> >
> > I just tried moving a database directory from a server running mysql
> > 3.22 to a computer running mysql 3.23. Basically, I just tared the
> > database dir and moved it into the /var/lib/mysql directory and untared
> > it. THen I try to mysql database name and it gives me the following
> > error.
> > [root@localhost mysql]# mysql edutime
> > Can't read dir of './edutime/' (Errcode: 13)
>
> $ perror 13
> Error code 13: Permission denied
> $
>
> Check the permissions on your database directories.
>
> --
> Dan Nelson
> dnelson@stripped