Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara menggunakan driver Java Database Connectivity (JDBC) dengan
pipeline Cloud Data Fusion.
Beberapa plugin di Cloud Data Fusion memerlukan driver JDBC untuk ditambahkan ke
namespace. Misalnya, sebelum dapat menjalankan pipeline dengan plugin sumber batch MySQL, Anda harus menambahkan driver MySQL yang didukung ke namespace. Anda dapat menambahkan driver JDBC ke namespace dari Cloud Data Fusion Hub, halaman Namespace admin, atau halaman Add entity. Anda juga dapat menghapus driver JDBC yang tidak diperlukan dari halaman Admin namespace.
Menambahkan driver JDBC
Hub
Untuk menambahkan driver JDBC dari Cloud Data Fusion Hub, ikuti langkah-langkah berikut:
Di Cloud Data Fusion Studio, klik Hub>Driver, lalu klik driver.
Opsional: Untuk mendapatkan informasi tentang tempat mendownload file JAR, klik
Download.
Klik Deploy, upload file JAR, lalu klik Next.
Verifikasi nama class dan versi driver.
Klik Selesai.
Cloud Data Fusion menambahkan driver ke namespace.
Halaman admin namespace
Untuk menambahkan driver JDBC dari halaman Administrator namespace, ikuti langkah-langkah
berikut:
Download driver. Misalnya, untuk mendownload driver JDBC untuk MySQL, buka dev.mysql.com dan download file JAR.
Di Cloud Data Fusion, klik
menuMenu>Namespace Admin.
Di halaman Namespace, klik Drivers.
Upload file JAR Anda, lalu klik Next.
Masukkan nama dan class driver.
Klik Selesai.
Pengemudi ditambahkan ke namespace.
Menambahkan halaman entity
Untuk menambahkan driver JDBC dari halaman Tambahkan entity, ikuti langkah-langkah berikut:
Download driver. Misalnya, untuk mendownload driver JDBC untuk MySQL, buka dev.mysql.com dan download file JAR.
Di halaman Pipeline, klik tanda plus berwarna hijau.
Di halaman Tambahkan entitas yang muncul, buka Pengemudi, lalu klik
Upload.
Upload file JAR dan klik Next.
Masukkan nama dan class driver.
Klik Selesai.
Pengemudi ditambahkan ke namespace.
Menggunakan driver JDBC
Di halaman Pipeline di Cloud Data Fusion Studio, pilih plugin dari daftar Source atau Sink. Node untuk sumber atau sink
akan muncul di pipeline Anda.
Arahkan kursor ke node di pipeline, lalu klik Properties.
Di kolom Reference name, masukkan nama yang Anda tentukan untuk driver di
langkah Tambahkan driver JDBC sebelumnya.
Klik closeClose.
Menghapus driver JDBC
Untuk menghapus driver JDBC dari namespace, ikuti langkah-langkah berikut:
Di Cloud Data Fusion, klik menuMenu>Namespace Admin.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eThis page explains how to add, use, and delete Java Database Connectivity (JDBC) drivers within Cloud Data Fusion pipelines.\u003c/p\u003e\n"],["\u003cp\u003eJDBC drivers can be added to a namespace through the Cloud Data Fusion Hub, the Namespace admin page, or the Add entity page.\u003c/p\u003e\n"],["\u003cp\u003eTo use a JDBC driver, you must select a relevant source or sink plugin within the pipeline, and specify the driver's reference name in the plugin's properties.\u003c/p\u003e\n"],["\u003cp\u003eUnneeded JDBC drivers can be deleted from the namespace through the Namespace admin page.\u003c/p\u003e\n"]]],[],null,["# Plugin drivers\n\nThis page explains how to use Java Database Connectivity (JDBC) drivers with\nCloud Data Fusion pipelines.\n\nSome plugins in Cloud Data Fusion require a JDBC driver to be added to the\nnamespace. For example, before you can run a pipeline with a MySQL batch source\nplugin, you must add the supported MySQL driver to the namespace. You can add\nJDBC drivers to a namespace from the Cloud Data Fusion Hub, the **Namespace\nadmin** page, or the **Add entity** page. You can also delete unneeded JDBC\ndrivers from the **Namespace admin** page.\n\nAdd a JDBC driver\n-----------------\n\n### Hub\n\n\nTo add a JDBC driver from the Cloud Data Fusion Hub, follow these steps:\n\n1. In the Cloud Data Fusion Studio, click **Hub** \\\u003e **Drivers**, and click a driver.\n2. Optional: To get information about where to download the JAR file, click **Download**.\n3. Click **Deploy** , upload the JAR file, and click **Next**.\n4. Verify the class name and version of the driver.\n5. Click **Finish**.\n\nCloud Data Fusion adds the driver to the namespace.\n\n### Namespace admin page\n\n\nTo add a JDBC driver from the **Namespace administrator** page, follow these\nsteps:\n\n1. Download a driver. For example, to download the JDBC driver for MySQL, go to `dev.mysql.com` and download the JAR file.\n2. In Cloud Data Fusion, click menu **Menu** \\\u003e **Namespace Admin**.\n3. On the **Namespace** page, click **Drivers**.\n4. Upload your JAR file and click **Next**.\n5. Enter the name and class of the driver.\n6. Click **Finish**.\n\nThe driver is added to the namespace.\n\n### Add entity page\n\n\nTo add a JDBC driver from the **Add entity** page, follow these steps:\n\n1. Download a driver. For example, to download the JDBC driver for MySQL, go to `dev.mysql.com` and download the JAR file.\n2. On the **Pipeline** page, click the green plus sign.\n3. On the **Add entity** page that appears, go to **Driver** and click **Upload**.\n4. Upload the JAR file and click **Next**.\n5. Enter the name and class of the driver.\n6. Click **Finish**.\n\nThe driver is added to the namespace.\n\nUse a JDBC driver\n-----------------\n\n1. On the **Pipeline** page in the Cloud Data Fusion Studio, choose a plugin from the **Source** or **Sink** list. The node for the source or sink appears in your pipeline.\n2. Hold the pointer over the node in the pipeline and click **Properties**.\n3. In the **Reference name** field, enter the name you defined for the driver in the preceding [Add a JDBC driver](#upload-driver) step.\n4. Click close **Close**.\n\nDelete a JDBC driver\n--------------------\n\nTo delete a JDBC driver from a namespace, follow these steps:\n\n1. In Cloud Data Fusion, click menu **Menu** \\\u003e **Namespace Admin**.\n2. On the **Namespace** page, click **Drivers**.\n3. Choose a driver and click more_vert **More**.\n4. Click **Delete**.\n\nWhat's next\n-----------\n\n- Learn about [configuring plugins](/data-fusion/docs/concepts/plugins)."]]