XAMPP: couldn't start MySQL! Solution

Source: Internet
Author: User

When XAMPP is shackled under centos to the/opt/lampp directory and/opt/lampp start starts, the following problems occur:

XAMPP: SELinux is activated. Making XAMPP fit SELinux...
Starting XAMPP for Linux 1.7.1...
XAMPP: Starting Apache with SSL (and PhP5 )...
XAMPP: Starting MySQL...
XAMPP: couldn't start MySQL!

XAMPP: Starting ProFTPD...
XAMPP for Linux started.

First use the following command to modify:

Disable SELinux first, and then perform the following operations:
# Chown-HR root/opt/lampp
#/Opt/lampp start
# Chmod 777-r/opt/lampp/var

However, the following problems occur:
XAMPP: Starting MySQL...
Warning: World-Writable Config File '/opt/lampp/etc/My. CNF' is ignored
Warning: World-Writable Config File '/opt/lampp/etc/My. CNF' is ignored

Finally, use the following command to solve the problem:
# Cd/opt/lampp/etc
# Chmod 755 my. CNF

Normal after restart!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.