Skip to content
  • Joerg Bruehe's avatar
    20fbcff0
    Fix for bug# 12794345: · 20fbcff0
    Joerg Bruehe authored
    Ensure a random password is set for the root user
    
    The approach is that the script "mysql_install_db" (Perl variant)
    supports a new option "--random-passwords".
    If this option is set, the script will (after setting the
    predefined accounts in the table "mysql.user") run commands
    from "mysql_security_commands.sql" (new file).
    
    These commands will set a random password for the root accounts
    and set the "password expired" flag,
    and they will remove the anonymous accounts.
    20fbcff0
    Fix for bug# 12794345:
    Joerg Bruehe authored
    Ensure a random password is set for the root user
    
    The approach is that the script "mysql_install_db" (Perl variant)
    supports a new option "--random-passwords".
    If this option is set, the script will (after setting the
    predefined accounts in the table "mysql.user") run commands
    from "mysql_security_commands.sql" (new file).
    
    These commands will set a random password for the root accounts
    and set the "password expired" flag,
    and they will remove the anonymous accounts.
Loading