Why MySQL cannot be activated and started in Linux

Source: Internet
Author: User

Most of these problems occur in the Federo version. a friend on the previous Forum used this version of Linux but was unable to deploy MySQL in the LAMP environment. Later, the installation of MySQL had many problems. Today, I replaced the system with Federo to solve the problem that MySQL cannot be installed.

First, I downloaded the lampp integration environment. After decompression, I found that MySQL cannot be run and MySQL cannot be found. in the sock file, check the/tmp File Permission and find that it is not a File Permission problem, because MySQL is not activated at all. Generally, after MySQL is activated, the file is automatically generated in the/tmp directory. The reason is that the file fails to be activated. So I downloaded the separate MySQL5.0 source code for installation. According to the instructions in the install-binary file, the last step is always abnormal.

MySQLd_safe-user = MySQL & the command always ends with MySQL end. Indeed, MySQL cannot be activated. Of course, MySQL. sock cannot be created.

After finding the relevant information, it is determined that the permission problem occurs, and the MySQL installation is completed by executing the following command.

MySQLd_safe-user = root

If the friend on the Forum has not installed the joomla environment, try this method.

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.