• Sergei Golubchik's avatar
    MDEV-12484 Enable unix socket authentication by default · b9f3f068
    Sergei Golubchik authored
    Change the default authentication for root@localhost to
    
      IDENTIFIED VIA mysql_native_password USING 'invalid' OR unix_socket
    
    which provides secure passwordless login, while still allowing
    SET PASSWORD to work as expected.
    
    Also create a second all-privilege account for the user that owns
    datadir (and thus has full access to the data anyway).
    
    Compile unix_socket plugin statically into the server.
    b9f3f068
i_s_applicable_roles_is_default.test 1.28 KB