Error DROP DATABASE (errno: 39) (Doc ID 2198756.1)

Last updated on MARCH 14, 2017

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.

Goal

What causes the following error when using DROP DATABASE?

ERROR 1010 (HY000): Error dropping database (can't rmdir './test', errno: 39)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms