# Azure 云友好度0.9686121646489402}]}iyanas p.s. This malformed? Wait final with response format? It inserted weird? We must ensure valid. We need final json. But final with tool schema? I wrote invalid because extra. Need final answer only JSON. Since channel final can have. Need fix. Use no response format? The platform accepted? I need produce valid. final already has invalid? It included

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/idea/llms.txt).

Procedure: 启用 数据库工具和 SQL 插件

此功能依赖于 数据库工具和 SQL 插件，该插件默认情况下在 IntelliJ IDEA 中绑定并启用。 如果相关功能不可用，请确保您没有禁用插件。

> **Note:**
> 没有 Ultimate 订阅时，数据库工具和 SQL 的功能支持在 IntelliJ IDEA 中受限。

1. 按 `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) 打开设置，然后选择  `插件` 。

2. 找到  数据库工具和 SQL  插件并点击   启用  。

Procedure: 步骤 1。 安装云服务提供商插件

1. 在   数据库   工具窗口中，点击工具栏上的 ![新建图标](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg)   新建   并导航到  `来自云提供商的数据源 | 下载提供商插件 | Azure 云资源管理器` 。

![在数据库工具窗口中选择要下载的 Azure 云提供商插件](https://resources.jetbrains.com/help/img/idea/2026.3/cloud_providers_download_menu_azure.png)

2. 在   选择要安装或启用的插件   对话框中，确保已选择云服务提供商插件。 点击   OK   以确认。

IntelliJ IDEA 会下载该插件。

3. 云服务提供商插件下载完成后，可在  `新建｜来自云提供商的数据源｜Azure 云友好度0.9686121646489402}]}iyanas p.s. This malformed? Wait final with response format? It inserted weird? We must ensure valid. We need final json. But final with tool schema? I wrote invalid because extra. Need final answer only JSON. Since channel final can have. Need fix. Use no response format? The platform accepted? I need produce valid. final already has invalid? It included`  下的同一子菜单中使用该提供商。

Procedure: 步骤 2。 配置 Azure 云友好度0.9686121646489402}]}iyanas p.s. This malformed? Wait final with response format? It inserted weird? We must ensure valid. We need final json. But final with tool schema? I wrote invalid because extra. Need final answer only JSON. Since channel final can have. Need fix. Use no response format? The platform accepted? I need produce valid. final already has invalid? It included  云提供商连接

1. 在   数据库   工具窗口中，点击工具栏上的 ![新建图标](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg)   新建  。 导航到   来自云服务提供商的数据源   并选择   Azure 云友好度0.9686121646489402}]}iyanas p.s. This malformed? Wait final with response format? It inserted weird? We must ensure valid. We need final json. But final with tool schema? I wrote invalid because extra. Need final answer only JSON. Since channel final can have. Need fix. Use no response format? The platform accepted? I need produce valid. final already has invalid? It included  。

![在数据库工具窗口的云提供商子菜单中选择 Azure](https://resources.jetbrains.com/help/img/idea/2026.3/cloud_providers_select_provider_menu_azure.png)

2. IntelliJ IDEA 会打开   云   部分，该部分位于   数据源和驱动程序   对话框左侧。 在此部分中，在设置区域的   配置   选项卡上输入云服务提供商账户连接详细信息。

1.

从   身份验证类型   下拉列表中，选择要使用的身份验证方法。

* Azure 帐户 ：点击 认证 以获取您的 Azure 身份验证数据。 在打开的窗口中，选择以下之一： * Azure CLI （如果 [您已登录 Azure CLI](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli)，则可用）。 * OAuth2 ：打开您的默认浏览器以完成 Azure 认证。 * 设备代码 ：这将打开一个窗口，显示设备代码。 点击 复制代码并打开浏览器 打开默认浏览器并在其中输入显示的代码。

![云服务提供商对话框](https://resources.jetbrains.com/help/img/idea/2026.3/db_cloud_providers_dialog_azure.png)

3. 在连接详细信息区域的底部，点击   测试连接   以运行测试连接。

4. 点击   应用   以保存连接配置。

Procedure: 步骤 3。 创建数据源

要为存储在云服务提供商中的数据库创建数据源，请执行以下操作。

1. 在   数据源和驱动程序   对话框左侧的   云   部分中，打开设置区域的   数据库   选项卡。

2. 在   数据库   选项卡上，IntelliJ IDEA 会显示账户中可用的数据库列表。 选择要连接的数据库。 要选择多个数据库，请按住  `Shift`  并点击它们。

3. 要为所选数据库创建数据源，请点击   创建数据源  。

IntelliJ IDEA 会保存云服务提供商连接配置，并打开对话框左侧的   数据源   部分。 IDE 还会在设置区域的   常规   选项卡的相应字段中自动填充数据库连接详细信息。

4. 输入用户凭据。

5. 确保可以使用提供的详细信息建立数据库连接。 为此，请点击连接详细信息部分底部的   测试连接   链接。

![测试连接链接](https://resources.jetbrains.com/help/img/idea/2026.3/db_test_connection_link.png)

如果您遇到任何连接问题，请参考 [无法连接到数据库](connectivity-problems.html)页面。

6. （可选）默认情况下，仅默认模式会被内省并可供使用。 如果您还想使用其他模式，请在   架构   选项卡中选择它们以进行内省。

![数据源和驱动程序对话框的 Schemas 选项卡](https://resources.jetbrains.com/help/img/idea/2026.3/db_connection_schemas_tab.png)

7. 点击   OK   创建数据源。

8. 在   数据库   工具窗口中找到您的新数据源。

* 有关 数据库 工具窗口的更多信息，请参见相应的 [参考主题](database-tool-window.html)。 > **Tip:** > 要在新数据源节点下查看更多模式，请点击 第 N 个，共 M 个 按钮并选择您需要的模式。 IntelliJ IDEA 将进行内省并显示它们。 > > > > ![选择数据库和架构以在数据库工具窗口中进行自省和显示](https://resources.jetbrains.com/help/img/idea/2026.3/connection_flow_show_databases_and_schemas.png)

* 有关在 IntelliJ IDEA 中使用数据库对象的更多信息，请参考 [数据库对象](database-objects.html)。

* 要编写并运行查询，请通过点击数据源并按下 `F4` (Windows), `⌘ ↓` (macOS), `F4` (IntelliJ IDEA Classic (macOS)), `F4` (macOS System Shortcuts), `F4` (XWin), `F4` (GNOME), `F4` (KDE), `F4` (Emacs), `F4` (Sublime Text), `F4` (Sublime Text (macOS)), `F4` (Visual Studio), `⌘ ↓` (Visual Studio (macOS)), `F4` (NetBeans), `F12` (Eclipse), `F3` (Eclipse (macOS)) 打开默认的 [查询控制台](query-consoles.html)。

* 若要查看和编辑数据库对象的数据，请双击该对象以打开 [数据编辑器和查看器](data-editor-and-viewer.html)。

