# DB Writer

This task is used to write data in the following databases: ***MYSQL, MSSQL, Oracle, ClickHouse, Snowflake, PostgreSQL***.

**Please go through the below given steps to configure DB Writer:**

<figure><img src="https://content.gitbook.com/content/q2i9CKCFbySxr6jRoJfA/blobs/GzKqvsgSJQDKJjDOdjKk/image.png" alt=""><figcaption><p>DB Writer Task</p></figcaption></figure>

* **Host IP Address:** Enter the Host IP Address for the selected driver.
* **Port:** Enter the port for the given IP Address.
* **Database name:** Enter the Database name.
* **Table name:** Provide a single or multiple table names. If multiple table name has be given, then enter the table names separated by comma(,)**.**
* **User name:** Enter the user name for the provided database.
* **Password:** Enter the password for the provided database.
* **Driver:** Select the driver from the drop down. There are 6 drivers supported here: ***MYSQL, MSSQL, Oracle, ClickHouse, Snowflake, PostgreSQL***.
* **Schema File Name:** Upload spark schema file in JSON format.
* **Save Mode:** Select the Save mode from the drop down.
  * Append
  * Overwrite
* **Query:** Write the create table query.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-pipeline-2/getting-started/homepage/create/creating-a-new-job/task-components/writers/db-writer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
