Error starting MySql server 'The pid file manager exits without updating the file.'

I read on some forums that running the / bin / sh job before running /etc/init.d/mysql would solve the problem, and that happened. but we don’t want to run it every time like this ... What is the solution? I installed the following packages from http://www.mysql.com/downloads/mysql/#downloads , I am using CentOS 5 .:

MySQL Community DebugInfo-5.1.50-1.rhel5.x86_64.rpm MySQL Community Client 5.1.50-1.rhel5.x86_64.rpm MySQL Server 5.1.50-1.glibc23.x86_64.rpm MySQL Development -5.1.50-1.glibc23.x86_64.rpm

Is there something missing?

+3
source share
2 answers

- reset? mysqld , pid . pid?

:

CentOS 5 pid : /var/run/mysqld/mysqld.pid

0

my.cnf.

:

[centos]# mv /etc/my.cnf /etc/my.cnf-old
[centos]# service mysql start

, , my.cnf.

[centos]# diff -bB /etc/my.cnf /etc/my.cnf-old
0

Source: https://habr.com/ru/post/1760897/


All Articles