Announcement

Announcement Module
Collapse
No announcement yet.

Prevent MySQL from automatic restart after a crash

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Prevent MySQL from automatic restart after a crash

    Hi,

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

    Thanks in advance.

  • #2
    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.

    Comment

    Working...
    X