> 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/change-database-password.md).

# Change database password

Changes the password for the specified database user.

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