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

maridb imported to wrong database

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 11.8.4
    • N/A
    • CI
    • None
    • Not for Release Notes
    • Data imports to wrong database

    Description

      I have working db named dw

      I needed something from a backup file, I created database named import. the backup file named dw

      1. mariadb -uroot -p import < dw

      This imported data into database dw (not import) so I had to restore a backup loosing 12h.

      Edit, i realised the backup file must have drop db, create db added to it.

      CREATE DATABASE /!32312 IF NOT EXISTS/ `dw` /*!40100 DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci */;
      USE `dw`;

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              owen34 peter anderson
              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.