How to fix error 10013 on XAMPP MySQL Windows 10 even no MySQL installed
If you experiencing error like below even you don't have any another mysql server installed OR no other programs/application use port 3306 and try change any other port still have the same error
2021-05-25 20:26:07 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10013: An attempt was made to access a socket in a way forbidden by its access permissions.
2021-05-25 20:26:07 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
You can try this to solve the problem:
- run command prompt as administrator
- type
bcdedit /set hypervisorlaunchtype off
- restart your windows
- try to run your xampp mysql, again, it shoud be run
Awesome, the only page that helped me, in one line :D
Glad to hear that.. happy coding
Fixed mine xampp mysql issue too. Thanx a bunch mate
You’re welcome
This really is a life saver, thanks!
Glad to help..
thanks! after 2 days i try many solution and almost format my laptop.. now you just fix using one line. what a life saver. thank you so much.
Glad to help..
I ran into this error using WAMP. It wouldn’t start MySQL. I tried everything. Running the command you showed worked.
Note: I had installed Windows Sandbox, which requires hypervisor. So having Windows Sandbox is installed apparently isn’t compatible with MySQL
Glad to help..
Ah…..at last. Thanks for the awesome solution.
glad to help..
Jadi ini gara2 hypervision ya gan,
soalnya ane juga aktifkan fitur untuk instal os di virtualbox hyperv
Iya, dari pengalaman saya seperti itu, gara2 hyperV
thanks a lot . you save my time!!
glad to help..
Thanks a lot man!