# NEXUS AI Managed Databases

Managed databases are organization resources independent of an application deployment.

## Providers and engines

The platform supports local NEXUS-managed databases and managed cloud databases through AWS RDS, Google Cloud SQL, and Azure Database for PostgreSQL or MySQL where the organization is configured for those providers. Redis is also supported for local managed database workflows.

## Operations

Authenticated interfaces support listing, inspection, creation, connection details, attachment, detachment, deletion, snapshots, restore, and SQL query operations. A managed database remains independent when an application is redeployed or deleted.

## MCP tools

The managed-database tools are `nexusai_managed_db_list`, `nexusai_managed_db_create`, `nexusai_managed_db_delete`, `nexusai_managed_db_connection`, `nexusai_managed_db_attach`, `nexusai_managed_db_detach`, `nexusai_managed_db_snapshot_create`, `nexusai_managed_db_snapshot_list`, `nexusai_managed_db_query`, `nexusai_managed_db_execute`, and `nexusai_managed_db_restore`.

## SQL rules

Queries run one statement at a time and some statements, including `CREATE DATABASE`, are blocked. See [SQL safety rules](/docs/sql-safety.md).

## Safety

Connection details, credentials, queries, restore, and deletion are sensitive. Use read-only access when possible and verify the target database before any restore or destructive query.

## Related resources

- [Databases](/docs/databases.md)
- [Backups](/docs/backups.md)
- [SQL safety rules](/docs/sql-safety.md)
- [MCP tools](/mcp/tools.json)
