Not the answer you need?
Register and ask your own question!

Prevent MySQL from automatic restart after a crash

tbabuttbabut EntrantInactive User Role Beginner
Hi,

is there an option to avoid the automatic restart of the MySQL daemon itself after a crash?

Thanks in advance.

Comments

  • niljoshiniljoshi MySQL Sage Inactive User Role Beginner
    Hi Thomas,

    AFAIK, If you start mysqld normally using startup script or as a service and if mysqld would crash than mysqld_safe would restart it automatically because mysqld_safe is the control script, which is responsible for automatic starting mysqld. However, if you start mysqld directly like : "/usr/sbin/mysqld &" then if it crashes it should not be restarted automatically.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.