---
title: "ezgh databases logical-databases create"
description: "Create a logical database."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh databases logical-databases create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh databases logical-databases create <database> <name> [--wait] [flags]
```

Create a logical database, such as one an app keeps its tables in. Names start with a letter and take lowercase letters, digits and underscores. A managed one that's missing is created again. `--wait` waits until it's available and prints it.

Part of [`ezgh databases logical-databases`](/cli/reference/databases-logical-databases).

## Examples

```sh
ezgh databases logical-databases create orders shop --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until it's available, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/databases-logical-databases-create/index.mdx
