Linux failed to start or restart mysql: Job for mysqld.service failed because the control process exited with error code.

tags: mysql  Linux

Problem Description:

1. Enter the command: systemctl start mysqld or service mysql start or service mysql restart

systemctl start mysqld


2. View the status of mysql

 service mysqld status

solution

  1. View mysql permissions
cd /var/lib/mysql
ls -lrt


2. View the process #ps -aux|grep mysql

ps -aux|grep mysql



3. KILL all processes: kill -9 pid means kill -9 23368

 kill -9 23368
 kill -9 23555


4. Start MYSQL: service mysql start

service mysql start


5. mysql running status: service mysql status

service mysql status

Intelligent Recommendation

Question: Online MySQL launch error: job for mysqld.service failed Because The Control Process Exited with error code.

background Operating system: CentOS 7 Suddenly, the user reflects that the page is not data on the page, and it is investigated.ElasticSearchAnd after the corresponding backend service, there may be o...

MySQL startup error Job for mysqld.service failed because the control process exited with error code. See “sys

Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details. View tail -n 300 /var/...

LInux Mysql error when starting: Job for mysqld.service failed because the control process exited with err...

1, start mysql error 2, analyze the error message 3, the solution 4, start the mysql service...

Installing MySQL appears Job for mysqld.service failed because the control process exited with error code problem

Original link: Ali cloud server fails to start installing MySQL: According to this prompt, see the reasons to Baidu's approach is, after modifying the configuration file, or an error“Job for mys...

MySQL - Job for mysqld.service failed because the control process exited with error code problem

According to this prompt, see the reasons to Baidu's approach is, after modifying the configuration file, or an error "Job for mysqld.service failed because the control process exited with error ...

More Recommendation

Installing MySQL appears Job for mysqld.service failed because the control process exited with error code

Alibaba Cloud server failed to start when installing MySQL: According to this prompt, check the reason, Baidu's way is to still report an error after modifying the configuration file“Job for mys...

When MySQL opens common logs, Job for mysqld.service failed because the control process exited with error code.

Error occurs when MySQL opens common logs error Ideas Solve the problem error When opening common logs, Job for mysqld.service failed because the control process exited with error code. See "syst...

MySQL Adventures: Job for MySQLD.Service Failed Because The Control Process Exited with Error Code

phenomenon After a May Day holiday, the computer has also been a good rest. On the first day of starting, I found that MySQL hangs, the reason is that other services have a large number of logs, and t...

Start mysql and make an error: job for mysqld.service failed before the control process exited with error code.

Today, after the CentOS service is upgraded, the Mysql explodes the following errors: Use instructionsystemctl start mysqldCheck whether mysql starts successfully Inactive (dead) indicates failure. Be...

Job for mysqld.service failed because the control process exited with error

mistake Report error message: Job for mysqld.service failed because the control process exited with error solve Enter the command by prompt But the information displayed does not provide a real reason...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top