Page 1 of 1

MySQL Database not starting in XAMPP

PostPosted: 22. February 2023 23:04
by muuktoi
Hello, I'm trying to turn on the MySQL Database in XAMPP 8.2.0-0 on my Arch Linux machine. I tried to change the port to 3307, but it didn't help. I'm a newbie, so if you know how to help please explain in detail what to do. The application log only says "Starting MySQL Database..." (no error at all). When I press start, it just goes back to the stopped state after a few seconds of starting.

Re: MySQL Database not starting in XAMPP

PostPosted: 22. February 2024 13:16
by MilesWeb
it seems that your XAMPP has been encountering some issues starting the MySQL database. check if your system MariaDB is running, Try sudo systemctl status mariadb, you can stop it with stop it with sudo systemctl stop mariadb command.

also, verify XAMPP permissions and ownership, if necessary.

check xampp logs which are located in /opt/lampp/logs. check if there is any error messages.