> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# squarecloud db info

> 显示你在 Square Cloud 上数据库的详细信息。

显示数据库 ID、名称、引擎类型、内存、端口、集群、拥有者和创建日期。数据库 ID 是可选的：CLI 会先从参数中解析，然后回退到交互式选择器。

```bash theme={null}
squarecloud db info
# 使用交互式选择器来选择数据库。
```

```bash theme={null}
squarecloud db info <dbID>
# 显示指定数据库的详细信息。
```

```bash theme={null}
squarecloud db info <dbID> --json
# 以 JSON 格式打印原始数据库对象。
```

使用 `squarecloud db info --help` 获取有关此命令的更多信息。
