Just wait for it and your computer/laptop will be automatically restart and try to open your XAMPP control panel again, and then start your Apache.
Finally, go to the "control panel" -> "Programs & Features" -> "Turn Windows On or Off".Change "Main Port" to 8080 and "SSL Port" to 4433, then save it.Then, click the "config" (note: above the netstat) and click the "service and port settings".# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
Choose "Apache (nf)", find this code below, and change it again:.After that, go back to the XAMPP control panel and click its config again.It should be handled carefully because the data inside the MySQL database is. #to prevent Apache from glomming onto all bound IP addresses. Sometimes we starting or when updating XAMPP shows MySQL shutdown unexpectedly error. #Change this to Listen on specific IP addresses as shown below Open your XAMPP control panel then click its "Config"Ĭhoose the "Apache (nf)" and find this code below and change it into this one:.Remember to save the nf and nf files after performing some changes. When the file opens in your text editor, press Ctrl + F, and then enter 443 in the search field. Still from the nf file, find another line that says To do so, you can return to the XAMPP control panel, then select Config under the Apache settings again.
Inside the nf file, find line that says Listen 443Īnd change the 443 into any number / port you want. XAMPP Control panel (v3.2.2) is a plain, simple interface for XAMPP which helps you to Start/Stop, Administer and configure services like Apache, MYSQL, FileZilla, Mercury, Tomcat. Step 2 - From the XAMPP Control Panel, under Apache, click the Config button again, but this time select the Apache ( nf). Note: If you don’t do following very carefully there are chances you can lose your databases. Still from the nf file, I found another line that says: ServerName localhost:80Ĭhange 80 to 8080. No databases lost, no ports changed, no run as administrator, no force recovery, no. Inside the nf file, somehow I found a line that says: Listen 80Īnd change the 80 into any number / port you want. Step 1 - From the XAMPP Control Panel, under Apache, click the Config button, and select the Apache (nf). I followed the below steps to resolve the issue: Error MySQL shutdown unexpectedly bisa disebabkan karena ada kesalahan dalam penggunaan port atau karena adanya aktivitas seperti menginstall aplikasi lain yang menyebabkan mysql XAMPP berhenti. Enter the location of your xammp mySqld file (navigate through xammp to find it) Although it is likely the same as mine.As I am working in a corporate environment where developers faces firewall issues, none of the other answers resolved my issue.Īs the port is not used by Skype, but by some other internal applications,.Right click 'ImagePath' and click modify. Click on mySql and notice the ImagePath variable.Navigate to: HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > MySql.