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

Allow to restore only one database from a full database dump

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Backup
    • None

    Description

      Test case:

      SQL> create schema test;
      SQL> create schema world;
      SQL> create schema foodmart;

      1. mysqldump --user=root --all-databases > full_dump.sql
      2. cat full_dump.sql | mysql --user=root --one-database --database=world
        ERROR 1231 (42000) at line 1258: Variable 'time_zone' can't be set to the value of 'NULL'

      Attachments

        Activity

          People

            Unassigned Unassigned
            oli Oli Sennhauser
            Votes:
            1 Vote for this issue
            Watchers:
            4 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.