The server quit without... problem occurs when mysql is started in ubuntu. How does this error occur? Why does The server quit without updating PID file (.... pid. cnf 2: Permission issue for the/usr/local/mysql/data folder 3: The mysql service already exists in the process. First, let's talk about the experiences of the landlord, the server quit without updating PID file (updat file ..... pid) Sadly pushed to more than 2 o'clock, google to query a variety of information .. so I solved the problem 1 in the above summary: because I had a brain estimate, I actually changed/usr/local/mysql/my. the cnf configuration file was later found to have been changed. However, when mysql was started, I thought it would be like this to find my. cnf first/etc/my. whether cnf exists
1if (true): 2 read/etc/my. cnf3else: 4
Read/usr/local/mysql/my. cnf |/usr/local/mysql/my. cnf ~ My. no problem with cnf, So Problem 1 is ignored (the result is tossing to 2 points, ignoring/usr/local/mysql/my. cnf check) Question 2: usr/local/mysql/data permission, check whether the current login user has write permission. the relationship between linux Group and file owner permissions should be clarified here (not clear? Issue 3: Check whether the mysql service process exists. If yes, kill the command:
ps aux|grep mysql
If the problem exists, kill-9 corresponds to the id (for example, 3871.