Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't DROP tables or database 1

Status
Not open for further replies.

PracticalProgra

Programmer
Mar 17, 2002
4
US
Newbie. Loaded mySQL. Appears to work fine, except when I want to DROP a table, or a database.

For instance, if I CREATE a database and then I type DROP DATABASE KensDB, I get the following error:

ERROR 1009: Error dropping database (can't delete '.\KensDB\#sql-300_6.frm'.errno:473312)

There is nothing in the database, I havn't done anything yet. I can kill the database by deleting it's folder, but that's not right.

Any ideas?
 
Hi,

What does SHOW DATABASES; return?


William
Software Engineer
ICQ No. 56047340
 
Thanks for writing back, but . . .

nevermind.

Turned out to be a permissions problem.

Thanks again.

Ken
 
Good point sleipnir.

In investigating the problem, I noticed, when I went to the "Security" tab on the "Properties of the "DATA" directory beneath the "mySQL" directory, that "AUTHENTICATED USERS" did not have certain permissions on that directory. I gave them "Full Control" and now everything works.

Obviously, one would want to be more judicious with the application of the "Full Control" security, but, at least, it identified that the problem was a permissions issue.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top