[Solved] Error dropping database (can‘t rmdir “emos“ errno: 39)

Problem description
the above error is reported when you want to uninstall a database today.

Solution:

cd /var/lib/mysql

Then find the folder of the corresponding database and delete it

Read More: