Jump to content

mysqld.exe unable to be deleted


Go to solution Solved by kicken,

Recommended Posts

Yeah, topic title.

 

I've been using XAMPP, messed up my configuration details big time and couldn't reverse it, decided to uninstall it and then re-install it, but I can't delete that single file because it is perpetually executing even though I never opened it.

All other files were deleted without problems...

 

Any way to end the process (I can't find it in my taskmgr) prematurely or any way to delete the file?

 

Thanks in advance...

Link to comment
https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/
Share on other sites

Did you stop the process through Xamp?

 

When you shut down your computer it should stop.

 

I uninstalled XAMPP and it prompted me to try deleting the folder, but couldn't.

I shut down my PC and rebooted it already, didn't work :l

 

 

 

the suggestion to use a bootable linux cd wasn't to install linux, it was to boot to an environment where windows isn't running so that you can delete the file without it being locked by the windows operating system.

 

 

Would I be able to achieve the same with a VM?

  • 3 years later...

I know it is too late to reply back, but I just had this issue and fixed it simpler and the good thing about this method is that I do not have to reboot the PC or start anything in safemode.

 

1-If you go to resmon from run (resource monitor) and look for associate handlers, and search for mysqld.exe, you´ll probably see it used by explorer.

2-Open Task Manager

3-Open CMD

4-Stop the explorer.exe from taskmgr (This will close all your explorer windows)

5-Go to the Command prompt or CMD and run

cd C:\XAMPP\directory where the mysqld.exe is stored, once you are within the directory where mysqld.exe

type and run del  mysqld.exe to delete the file

type and run explorer.exe and everything will go back to normal, you will see the file dissapeared and you will be able to delete the directory.

 

Late but I just wanted to provide another method. Imagine if you would need to do this on a cluster or a server where you are not able to restart. :-)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.