# Remote Databases

MySQL and MariaDB / Remote Databases

## Enable remote MySQL host access

 - [GET /Mysql/add_host](https://api.docs.cpanel.net/specifications/cpanel.openapi/remote-databases/mysql-add_host.md): This function authorizes a remote MySQL® host to access the account's databases.

Important:

When you disable the MySQL role
 and remote MySQL is not already configured,
 the system disables this function.

## Add remote MySQL host note

 - [GET /Mysql/add_host_note](https://api.docs.cpanel.net/specifications/cpanel.openapi/remote-databases/mysql-add_host_note.md): This function adds a note about a remote MySQL® server.

Important:

* If you attempt to add a note to an unauthorized remote MySQL server, the function will fail.
* When you disable the MySQL role, the system disables this function.

## Disable remote MySQL host access

 - [GET /Mysql/delete_host](https://api.docs.cpanel.net/specifications/cpanel.openapi/remote-databases/mysql-delete_host.md): This function removes a remote MySQL® host's access to the account's databases.

Important:

When you disable the MySQL role and remote MySQL is not already configured, the system disables this function.

## Return remote MySQL host notes

 - [GET /Mysql/get_host_notes](https://api.docs.cpanel.net/specifications/cpanel.openapi/remote-databases/mysql-get_host_notes.md): This function returns the notes associated with the account's remote MySQL® hosts.

Important:

  When you disable the MySQL/MariaDB role
  and remote MySQL is not already configured, the system disables this function.

