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

Allow to restore only one database from a full database dump

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              oli Oli Sennhauser
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: