You are logged in as root, but what user is mysqld running as?
If you stop the database, you can manually remove the test dir from the
datadir.

Or fix the permissions on your directories in the datadir, so that mysqld
can add/remove directories and files.

Look in your my.cnf file to find out what user the daemon is running as.
Usually, it gets set up with an unprivileged user of mysql

Did the scripts add the mysql user to etc/passwd?

How's that for a start?

On 4/2/01 9:34 AM, "Mike Mike" <[EMAIL PROTECTED]> wrote:

> Hello,
> When I try to drop a database as follows:
> mysql> drop database test;
> I get an error message of....
> ERROR 1010: Error dropping database (can't rmdir
> './test', errno: 39)
> How do I fix this problem or even how do I delete the
> database.
> I'm using RedHat 6.2 and MySQL version: 3.22.32
> and i'm logged in as user root.
> Thank you 
> --Mike
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text
> 
> ---------------------------------------------------------------------
> 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
> 


---------------------------------------------------------------------
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