Info Knots

Friday, March 17, 2023

On starting lampp mysql service getting "netstat: command not found" error

 

The error message you're seeing indicates that the netstat command is not found. This command is used by XAMPP's startup script to check whether the MySQL port (port 3306) is already in use or not. If the netstat command is not found, XAMPP will not be able to start MySQL.

To fix this issue, you can install the net-tools package, which contains the netstat command. You can do this by running the following command in the terminal:

csharp
sudo apt-get install net-tools

After installing the net-tools package, try starting XAMPP again by running the following command:

bash
sudo /opt/lampp/lampp start

This should start the MySQL server without any issues.

No comments:

Post a Comment