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

mysqldump --system=users might be better with CREATE USER IF NOT EXISTS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.6.7
    • N/A
    • Scripts & Clients
    • None

    Description

      This is the command I'm using:
      mysqldump --system=users

      Can you evaluate whether including IF NOT EXISTS on the CREATE USER statements might be better?

      I learned I can use the "-f" option on mysql command to workaround the problem which allows it to skip the errors.

      Thought I'd share this since I was stuck and confused about how to do it for a while.

      Attachments

        Activity

          People

            danblack Daniel Black
            brucekirkpatrick Bruce Kirkpatrick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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