My Oracle Support Banner

MySQL DataDir permissions and ownership requirements for unix / linux (Doc ID 2445910.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Goal

In this document, we will assume the mysql OS user which is running the database is the default , "mysql".

The subject matter in this document has nothing to do with MySQL Server or its internals, it is purely dealing with the OS permissions and privielges.

MySQL is "just an app" for the context of this doc. If a program cannot read /write to its target directory, then it will not function as expected.

 

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
 Default configuration


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.