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.