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

Exporting to include drop / create database

    XMLWordPrintable

    Details

      Description

      I'm using mysqladmin in an attempt to export an existing database, it exports tables, data and stored procedures, the output does not contain any DROP DATABASE or CREATE DATABASE instructions the command line is:
      ```
      "C:/Program Files (x86)/MariaDB 10.5/bin/mysqldump" --skip-comments --compact --lock-tables=false --add-drop-database --host=localhost --user=trainer --password=PASSWORD training > C:/Users/splatten/Documents/TrainerS1D5.sql
      ```

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            SPlatten Simon Platten
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration