Search code examples
mysqlservicexampptaskkill

How to stop XAMPP's MySQL Service after updating MariaDB


I've updated my MariaDB to version 10.3.14 using this steps (link)
It has been successfully installed, but when I tried to stop the MySQL Service from XAMPP Control Panel, it won't stop.
The status always shows like this:

[mysql] Attempting to stop MySQL app...


Like the picture below:
img

How can I stop that?


Solution

  • You can kill the process operating on port 3306.

    Type in CMD (Command Prompt) if you have windows:

    netstat -ano | findstr :<yourPortNumber>
    

    put your port number in the diamond brackets.

    then put the process ID in diamond brackets,

    taskkill /PID <typeyourPIDhere> /F