MySQL Startup error-server PID file could not being found

Source: Internet
Author: User

First, restart the MySQL database

[Email protected] ~]# service mysqld restart
Shutting down MySQL. [OK]
Starting mysql.the server quit without updating PID file (/application/mysql-5.5.32/data/localhost.localdomain.pid). [FAILED]

Second, stop MySQL database

[[Email protected] ~]# service mysqld stop
MySQL server PID file could not being found! [FAILED]

Third, the settlement measures:

1. [[email protected] ~]# Ps-ef | grep MySQL
Root 5257 4319 0 20:13 pts/1 00:00:00 mysql-uroot-px xxxxxxxx
Root 7535 5289 0 20:28 pts/2 00:00:00 grep mysql

If you see the above, that means mysql Process card is dead, then use will be the process of these cards are closed closed

2.[[email protected] ~]# kill-9 5257

3.[[email protected] ~]# service mysqld start
Starting MySQL. [OK]

         4. [[email protected] ~]# Ps-ef | grep mysql
root      7556     1  0 20:28 pts/2     00:00:00/bin/sh/application/mysql-5.5.32/bin/mysqld_safe--datadir=/application/mysql-5.5.32/data-- Pid-file=/application/mysql-5.5.32/data/localhost.localdomain.pid
mysql     7833  7556  2 20:28 pts/2    00:00:00/application/mysql-5.5.32/bin/mysqld--basedir=/application/ mysql-5.5.32--datadir=/application/mysql-5.5.32/data--plugin-dir=/application/mysql-5.5.32/lib/plugin--user= MySQL--log-error=/application/mysql-5.5.32/data/localhost.localdomain.err--pid-file=/application/mysql-5.5.32/ Data/localhost.localdomain.pid--socket=/application/mysql-5.5.32/tmp/mysql.sock--port=3306

This article from the "Technology in hand, the world I have" blog, please be sure to keep this source http://xin521long.blog.51cto.com/11884590/1833181

MySQL Startup error-server PID file could not being found

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.