You are not logged in.

#1 2020-03-05 14:09:52

Major 25
Member
Registered: 2020-03-05
Posts: 1

Xampp starting MySQL Error

UPDATE: FIXED BY DOWNLOADING AND INSTALLING STRAIGHT FROM THE WEBSITE

After installing Xampp and also installing all the dependencies i have encountered this error while trying to start Xampp.

Starting XAMPP for Linux ...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
/opt/lampp/bin/mysql.server: line 264: kill: (2865) - No such process

I have already tried the following:

1. Reinstalling Xampp completely.
2. The following commands :

  • sudo chmod -R 755 /opt/lampp

  • sudo chown -hR nobody /opt/lampp

  • sudo chmod -R 777 /opt/lampp

3. Checked the service list for mysql.service nothing showed up
4. Tried to access log files in /opt/lampp/var/mysql, tried to access the following files: ib_logfile0, ib_logfile1, aria_log.00000001 with the following command : sudo nano [filename]. What i got was gibberish text.

The error has been persistent and nothing seems to work do you guys have any suggestions on how to fix the error? I need the program for university work so picking an equivalent one is not an option.

UPDATE: FIXED BY DOWNLOADING AND INSTALLING STRAIGHT FROM THE WEBSITE

Last edited by Major 25 (2020-03-05 18:10:31)

Offline

#2 2020-03-05 14:31:48

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,510
Website

Re: Xampp starting MySQL Error

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-03-14 20:44:31

e_Irbis
Member
Registered: 2015-12-09
Posts: 3

Re: Xampp starting MySQL Error

I think I found a solution.

Maria DB uses port 3306.

mysqld[44734]: Version: '10.4.12-MariaDB'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Arch Linux

The same port 3306 is specified in the configuration file /opt/lampp/etc/my.cnf for the XAMPP MySQL server.
I changed the port number to another in the configuration file /opt/lampp/etc/my.cnf

And the XAMPP bug is gone

sudo /opt/lampp/lampp status
Version: XAMPP for Linux 7.4.3-0
Apache is running.
MySQL is running.
ProFTPD is running.

Offline

#4 2020-03-14 23:27:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,510
Website

Re: Xampp starting MySQL Error

That doesn't seem to be the cause of the issue in OP's case, but thank you for sharing in any case.

Major 25, please remember to mark your thread as solved: https://wiki.archlinux.org/index.php/Co … ow_to_post


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB