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.
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.
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