Irate Posted May 12, 2013 Share Posted May 12, 2013 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... Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/ Share on other sites More sharing options...
Irate Posted May 13, 2013 Author Share Posted May 13, 2013 Still occuring, tried looking up all processes with sql in it, ended them, couldn't delete mysqld.exe. Anyone know how to force a delete if the process is still running? Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429811 Share on other sites More sharing options...
jazzman1 Posted May 13, 2013 Share Posted May 13, 2013 Download any linux life cd distro, boot Linux from the CD, mount the NTFS windows partion, find the directory and delete the file or delete all windows if you prefer Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429815 Share on other sites More sharing options...
Irate Posted May 13, 2013 Author Share Posted May 13, 2013 Hahah, thank you for the suggestion, but I'm staying with Windows at the moment, I just bought this PC a year ago, whenever I get a new PC, I'll get myself Linux. So... any other suggestions? :/ Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429827 Share on other sites More sharing options...
Jessica Posted May 13, 2013 Share Posted May 13, 2013 Did you stop the process through Xamp? When you shut down your computer it should stop. Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429831 Share on other sites More sharing options...
mac_gyver Posted May 13, 2013 Share Posted May 13, 2013 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. Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429832 Share on other sites More sharing options...
Irate Posted May 13, 2013 Author Share Posted May 13, 2013 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? Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429835 Share on other sites More sharing options...
jazzman1 Posted May 13, 2013 Share Posted May 13, 2013 I'm not sure whether you would be able to achive that in case this VM is a part of the same windows instalation. What's the problem with the bootable linux cd? Another good alternative is Hirens.BootCD. Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429841 Share on other sites More sharing options...
Irate Posted May 13, 2013 Author Share Posted May 13, 2013 I just talked to my IT Teacher at school, he said that I could download such data freely and then play it on a CD. Thank you for the suggestion, I'll reply once I have more information on this matter. Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429842 Share on other sites More sharing options...
Solution kicken Posted May 13, 2013 Solution Share Posted May 13, 2013 You could also just boot into windows safe mode and delete the file. Mysql shouldn't be started up when you boot into safe mode. Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429865 Share on other sites More sharing options...
Irate Posted May 13, 2013 Author Share Posted May 13, 2013 You could also just boot into windows safe mode and delete the file. Mysql shouldn't be started up when you boot into safe mode. That did the job, wonder why I didn't come to think of it yet... Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1429868 Share on other sites More sharing options...
NormanC Posted August 11, 2016 Share Posted August 11, 2016 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. :-) Quote Link to comment https://forums.phpfreaks.com/topic/277926-mysqldexe-unable-to-be-deleted/#findComment-1535922 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.