> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/hosting/databases/create-account-database.md).

# Create account database

Creates a database with a database user and password for the specified account. The database name and user are automatically prefixed with the account username when needed.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/hosting/v1/accounts/{username}/databases" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
