• Joerg Bruehe's avatar
    Fix bug#56574: · 9defb07e
    Joerg Bruehe authored
    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. 
    9defb07e
CMakeLists.txt 12.1 KB