How do I produce core files for MySQL using Oracle / RH Linux versions 5,6,7?

(Doc ID 1023283.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Server - Version 4.0 and later
Generic Linux
Red Hat Advanced Server


On Linux it is not enough to configure MySQL to produce a core file using the --core-file option. The reason is that setuid processes (processes originally started by another user) are by default not allowed to generate core files. This is done as a security precaution. There is a Oracle Linux ( inc RHEL and clones ) specific kernel parameter that needs to be set.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms