Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33948

If ''@'localhost' password is expired, then such user could not set a password

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3, 11.4
    • 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3, 11.4
    • None
    • None

    Description

      create user ''@localhost password expire;
       
      connect(con1, localhost, u);
      --error 1820
      select user();
       
      set password='';
      

      MariaDB [(none)]> select user();
      ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
      MariaDB [(none)]> set password='';
      ERROR 1131 (42000): You are using MariaDB as an anonymous user and anonymous users are not allowed to modify user settings
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.