The server quit without... problem occurs when mysql is started in ubuntu.

Source: Internet
Author: User

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.

Related Article

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.