Error Dropping Database (Can't rmdir '.test\', errno: 17)

后端 未结 17 2272
误落风尘
误落风尘 2020-11-28 22:09

Basically, I was taught on how to create a root password using the \"mysqladmin -u root -p password\" command, this was done all through the windows command editor. Now, the

相关标签:
17条回答
  • 2020-11-28 22:34

    In my case I didn't see any tables under my database on phpMyAdmin I am using Wamp server but when I checked the directory under C:\wamp\bin\mysql\mysql5.6.12\data I found this employed.ibd when I deleted this file manually I was able to drop the database from phpMyAdmin smoothly without any problems.

    0 讨论(0)
  • 2020-11-28 22:35

    I just ran into this problem with WAMP and the phpMyAdmin that comes with it. To remove the database and make the error go away. I went into C:\wamp\bin\mysql\mysql5.5.24\data\ and deleted the folder for the database in question.

    Then I refreshed the page at phpMyAdmin, and the database was gone.

    0 讨论(0)
  • 2020-11-28 22:36

    You can delete the data in the sql directory.

    For me i was using AMPPS on windows 10. I went to the AMPPs installtion directory. for me it was :

    D:\Program Files (x86)\Ampps\mysql\data
    

    because i have it installed on my secondary drive.

    Then refresh your SQL client and you will see it's gone.

    0 讨论(0)
  • 2020-11-28 22:39

    For phpmyadmin, go to xampp\mysql\data and simply delete the database folder. Worked for me !!

    0 讨论(0)
  • 2020-11-28 22:40

    You may need to check two things.

    1- Database Foleder's permission The database you wants to delete must have the same owner as mysql process has.

    2- Directory Must be empty Goto the mysql data directory and verify that directory is empty

    After that connect your mysql cli and run drop database command again.

    0 讨论(0)
  • 2020-11-28 22:42

    It happens because you may have copied /var/lib/mysql folder's database folder from another server to your server. But you haven't copied these files: /var/lib/mysql/ib_buffer_pool /var/lib/mysql/ibdata1 /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile1 /var/lib/mysql/ibtmp1 So you can create a new db and tables you are able to drop them but you can't drop the databases that you have copied from another server and you are also not able to explore the same database that you copied from another server. So I also copied that files : ib_buffer_pool,ibdata1,ib_logfile0,ib_logfile1,ibtmp1 after that everything worked.

    0 讨论(0)
提交回复
热议问题