My Oracle Support Banner

How do I produce core files for MySQL using Oracle / RH Linux versions 5,6,7? (Doc ID 1023283.1)

Last updated on MAY 01, 2023

Applies to:

MySQL Server - Version 5.1 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. This is due to the fact 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 an Oracle Linux ( inc RHEL and clones ) specific kernel parameter that needs to be set.


To view full details, 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 a vibrant support community of peers and Oracle experts.