> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/bdb-documentation/data-center/data-connectors/supported-data-connectors/database-connectors/mysql.md).

# MySQL

Provide the following information to create a MySQL Data Connector.

* **Data Connector Name**: Provide a user-defined name to identify the data connector.
* **Username**: Enter a Username (It should be the same as given in the connection server).
* **Password:** Enter the Password (It should be the same as provided in the connection

  server).
* **IP/Host**: Enter database server details (from where the user wants to fetch data).
* **Port:** Provide the server port number.
* **Database Name:** Name of the database where you wish to store data.
* Click the **‘Save’** option.<br>

![](/files/QyznJ4mFDiOhXRC982Xy)

* A success message appears confirming the connection.

<div align="left"><img src="/files/zyKcE0wozZzTopBP1k4q" alt=""></div>

* Another success message appears confirming the creation of the Data Connector.
* The newly created MySQL data connector gets added to the Data Connectors list.

![](/files/YNQUNUzYKD6iMXh2JfRG)

![](/files/43OPuWUCsDMGZ8RMoWkS)<br>

Note: The user can use the following Environment Variables instead of the actual Username and Password to create the MySQL Data Connectors.

* Username: @ENV.MYSQLUSERNAME
* Password: @ENV.MYSQLPASSWORD

&#x20;
