MySQL启动报错:Warning: mysqld.service changed on disk

Posted 还行少年

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL启动报错:Warning: mysqld.service changed on disk相关的知识,希望对你有一定的参考价值。

启动mysql服务时报错

Warning: mysqld.service changed on disk. Run 'systemctl daemon-reload' to reload units.

警告:磁盘上的mysqld.service已更改。运行“systemctl daemon-reload”重新加载单位。

根据提示执行“systemctl daemon-reload”即可

[root@localhost mysql-5.6.26]# systemctl daemon-reload
[root@localhost mysql-5.6.26]# systemctl status mysqld
● mysqld.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/rc.d/init.d/mysqld; bad; vendor preset: disabled)
   Active: active (running) since 六 2021-06-19 15:37:07 CST; 7min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/mysqld.service
           ├─122601 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/home/mysql --pid-file=/home/mysql/localhost.loc...
           └─122716 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/home/mysql --plugin-dir=/usr/loca...

6月 19 15:37:06 localhost.localdomain systemd[1]: Starting LSB: start and stop MySQL...
6月 19 15:37:07 localhost.localdomain mysqld[122596]: Starting MySQL. SUCCESS!
6月 19 15:37:07 localhost.localdomain systemd[1]: Started LSB: start and stop MySQL.
[root@localhost mysql-5.6.26]# 

以上是关于MySQL启动报错:Warning: mysqld.service changed on disk的主要内容,如果未能解决你的问题,请参考以下文章

MysqlCentOS7启动MySQL报错Failed to start mysqld.service

linux 启动mysq报错 提示 mysqld: cannot execute binary file

mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executab

mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable

Linux下启动MySQL报错

windows下mysql服务安装及报错