Fix bug#56574:
After installation from RPM, server is run under root, not mysql user The problem was that in the cmake way of building the variable "MYSQLD_USER" was not set and propagated. In the script "mysqld_safe" its value is used as the name of the user who should run the server process. The fix is to explicitly set this variable to "mysql" and propagate it in the build process. It was analyzed and proposed by Jonathan Perkin.
This commit is contained in:
parent
f052fa3aad
commit
9defb07e7d
@ -139,6 +139,7 @@ ELSE()
|
||||
ENDIF()
|
||||
|
||||
SET(HOSTNAME "hostname")
|
||||
SET(MYSQLD_USER "mysql")
|
||||
|
||||
# Required for mysqlbug until autotools are deprecated, once done remove these
|
||||
# and expand default cmake variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user