Skip to content

Duplicate a database, or copy a table or database to another connection #2487

Closed

Description

@datlechin

Problem

There is no copy of any kind. Cloning a database into a scratch copy, or moving one table to another server, means exporting to a file and importing it back. That drops indexes and constraints on some engines and is slow on large tables.

Proposed solution

  • Duplicate Database on the database row: ask for the new name, run CREATE DATABASE, then copy structure and data.
  • Copy To on a table or a database row, with a target picker that walks connection, then database, then schema, the way Compare & Sync already does.
  • Structure, data, or both, chosen before it runs, with the script shown first.
  • Stream through the existing export and import machinery rather than loading into memory, with progress and a cancel.

Alternatives considered

Export to a file and import it back.

Related database type

MySQL / MariaDB

Activity

  1. added
    enhancement
    on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions