[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-12。"],[[["\u003cp\u003eConnections in Cloud Data Fusion (version 6.5+) store vital information like credentials and host details for connecting to data sources, allowing for the reuse of configurations across multiple pipelines within a namespace.\u003c/p\u003e\n"],["\u003cp\u003eConnections can be managed through the Namespace Admin, Wrangler, and Studio pages, with the ability to add, edit, delete, duplicate, import, and export them, and are accessible to all users within the namespace.\u003c/p\u003e\n"],["\u003cp\u003eA wide variety of plugins, such as BigQuery, Cloud Storage, and various database connectors, support the use of reusable connections, which can be selected or created directly within the plugin's properties.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating a connection for a database, the appropriate JDBC driver needs to be uploaded, which can be done either from the Hub or the Namespace Admin page.\u003c/p\u003e\n"],["\u003cp\u003eRole-based access control (RBAC) is supported for connections.\u003c/p\u003e\n"]]],[],null,["# Create and manage connections\n\nThis page describes how to create and manage connections in\nCloud Data Fusion version 6.5 and later.\n\nA connection stores information, such as user credentials and host information,\nwhich is needed to connect to data sources. When you use a connection in a\nplugin, the plugin inherits all of the properties configured in the connection.\nAfter you create the connection, you can reuse it for other pipelines in the\nnamespace. When you export a pipeline that has a plugin that uses a connection,\nthe pipeline configuration JSON includes all of the properties.\n\nYou can manage connections for each namespace on the following pages in the\nCloud Data Fusion Studio:\n\n- The **Namespace Admin** page lets you add, edit, delete, duplicate, export,\n and import connections for each namespace.\n\n- The **Wrangler** workspace page lets you add, edit, delete, duplicate, and\n export connections for each namespace.\n\n- The **Studio** page lets you add and import connections for supported plugins\n for each namespace.\n\n| **Note:** Role-based access control (RBAC) is supported for connections. For more information, see the [Role-based access control (RBAC) overview](/data-fusion/docs/concepts/rbac).\n\nBefore you begin\n----------------\n\n- Before you add a connection for a database source, you must upload the JDBC driver to Cloud Data Fusion. You can upload the driver from the Hub or the **Namespace Admin** page.\n\n### Supported plugins\n\nThe following plugins support reusable connections:\n\n- Amazon S3\n- BigQuery\n- Spanner\n- Cloud Storage\n- Cloud SQL for MySQL\n- Cloud SQL for PostgreSQL\n- Database\n- Kafka\n- Microsoft SQL Server\n- MySQL\n- Oracle\n- PostgreSQL\n- Salesforce\n- SAP Ariba\n- SAP BW Open Hub Batch Source\n- SAP ODP\n- SAP Table\n- Zendesk\n\nCreate a connection\n-------------------\n\nTo create a new connection, follow these steps:\n\n1. In the Cloud Data Fusion Studio, click menu **Menu** \\\u003e **Namespace Admin** \\\u003e **Connections**.\n2. Click **Add connection**.\n3. From the **Add connection** page, select the type of connection to create.\n4. Configure the connection properties.\n\n | **Note:** Connection names must be unique in a namespace and can only include letters, numbers, underscores, and hyphens.\n5. Optional: to make sure the connection works, click **Test connection**.\n\n6. Click **Create**.\n\nThe connection appears in the **Connection type** field and is available for all\nusers in the namespace. The connection is available for use on the **Wrangler**\nworkspace page and on the **Studio** page in the Wrangler plugin properties.\n| **Note:** You can create a connection from the **Studio** , **Wrangler** , or **Namespace Admin** pages in the Cloud Data Fusion Studio.\n\nUse a connection in a plugin\n----------------------------\n\nWhen you use a connection in a plugin, the plugin inherits the connection\nproperties that you configured in the previous step.\n\nTo use a connection in one of the supported plugins, follow these steps:\n\n1. In the Cloud Data Fusion Studio interface, open a pipeline on the **Studio** page.\n2. In the plugin pallet, expand the menu **Source** menu, and select a [supported batch source plugin](#supported_plugins).\n3. Hold the pointer over the source node that appears and click **Properties**.\n4. Set **Use connection** to **Yes**.\n5. Click **Browse connections**. You can select an existing connection or create a new one. After you select the connection, all properties associated with the connection no longer appear. The connection properties are stored in the connection.\n6. Configure the rest of the required plugin properties.\n7. Optional: to test the connection, click **Validate**.\n8. Click close **Close**.\n\n| **Note:** You can edit, delete, duplicate, import, or export each connection.\n\nWhat's next\n-----------\n\n- Learn more about using [macros in plugins](/data-fusion/docs/concepts/macros)."]]