---
title: "ezgh warehouse databases create"
description: "Create a 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 warehouse 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 warehouse databases create <warehouse> <name> [--wait] [flags]
```

Create a database on every shard and replica. Tables you create in it with SQL reach every node. Names are letters, digits and underscores, not starting with a digit; system, information_schema, default and names starting ezgh\_ are reserved.

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

## Examples

```sh
ezgh warehouse databases create analytics events --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until it's on every node |
| `--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/warehouse-databases-create/index.mdx
