[MDEV-31943] Add functionality to mariadb-admin to manipulate catalogs Created: 2023-08-17 Updated: 2023-11-01 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Andrew Hutchings | Assignee: | Andrew Hutchings |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The mariadb-admin tool can be used to create and drop databases. This should be a good place to create and drop catalogs. The commands for this should probably be "create-catalog" and "drop-catalog" to distinguish between the current "create" and "drop" from databases. Implementing create-catalog in mariadb-admin can be done by having mariadb-admin call mariadb-install-db --catalogs=<catalog>. drop-catalog can be done just by issuing DROP CATALOG to the Server |