---
layout: default
title: 'wp db create'
display_global_parameters: true
---

<small>[Commands](/commands/) &raquo; [db](/commands/db/) &raquo; create</small>

`wp db create` - Create a new database.

<small>Quick links: <a href="https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+label%3Acommand%3Adb-create+sort%3Aupdated-desc">Github issues</a></small>

<hr />

Runs `CREATE_DATABASE` SQL statement using `DB_HOST`, `DB_NAME`,
`DB_USER` and `DB_PASSWORD` database credentials specified in
wp-config.php.

### EXAMPLES

    $ wp db create
    Success: Database created.



