Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 731
Gerald Sihotang Avatar asked Oct 17 '25 09:10

Gerald Sihotang


2 Answers

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
like image 82
Imran Faruqi Avatar answered Oct 19 '25 01:10

Imran Faruqi


I also had this issue so for anyone looking for an answer to fix the panel rather than using taskkill from cmd here is why this is happening:

The XAMPP Control panel you have installed is 32bit, while upgrading your MariaDB by following this method you downloaded the 64bit MariaDb version. That is why the XAMPP panel will not stop the MySQL process.

Download the 32bit version of MariaDB and re-do the installation process and it should be all sorted.

like image 35
Neco Horne Avatar answered Oct 19 '25 02:10

Neco Horne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!