# Databases

Configuring a MySQL database is essential for running applications or projects requiring cloud-based data storage. This guide will help you create and manage databases using the [HidenCloud](https://www.hidencloud.com) panel.

***

## <mark style="color:blue;">Creating Your Databases</mark>

1. **Access the** [**HidenCloud Panel**](https://dash.hidencloud.com/dashboard)\
   Log in to your HidenCloud account.
2. **Navigate to the Databases Section**\
   Go to \[*Management*] > \[*Databases*] in the sidebar.de bases de datos mediante \[*Management*] > \[*Databases*].
3. **Create a New Database**
   * **Host**: Select a host close to your location or your main server to minimize latency.
   * **Name**: Specify a unique name for your database.
   * **Connections From**: This field is set to `%` by default to allow connections from any IP address. You can restrict access to specific IP addresses if preferred.
4. **Configure Your Application or Service**\
   Update your application to connect to the newly created database.

{% hint style="info" %}
• Deleting a database will immediately erase all stored information.

• Project backups do not include databases, so deleted databases cannot be recovered.

• The default MySQL port is always `3306`.
{% endhint %}

<figure><img src="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2FKjnnTTwGeIkJMna7mqej%2Fimage.png?alt=media&#x26;token=3e8ffc7b-eeb7-4741-bcd4-46db5c6f68c5" alt=""><figcaption></figcaption></figure>

***

## <mark style="color:blue;">Resetting a Database Password</mark>

If you need to reset a database password, follow these steps:

1. **Access the** [**HidenCloud Panel**](https://dash.hidencloud.com/dashboard)\
   Log in and select your project.
2. **Navigate to the Databases Section**\
   Go to \[*Management*] > \[*Databases*].
3. **Reset the Password**
   * Locate the database you wish to reset the password for.
   * Select \[*Reset Password*].
   * Update the configuration files of your applications or services using this database with the new password.

<figure><img src="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2Fr05Er9d0ZYS8O5XwslgK%2Fimage.png?alt=media&#x26;token=3149f708-1716-4593-a835-03b83fa9fcb8" alt=""><figcaption></figcaption></figure>

***

## <mark style="color:blue;">Using the JDBC Connection String</mark>

Java-based applications often require a JDBC connection string to interact with your MySQL database. HidenCloud provides this string, containing all necessary details for the connection.

1. **Access the** [**HidenCloud Panel**](https://dash.hidencloud.com/dashboard)\
   Log in and select your project.
2. **Locate the JDBC Connection String**
   * Navigate to \[*Management*] > \[*Databases*] in the sidebar.
   * Find your desired database, and the JDBC connection string will be available to copy and use in your application.

HidenCloud simplifies database management, enabling you to configure and maintain your infrastructure effortlessly. For further assistance, refer to the official documentation or contact HidenCloud's technical support team.

<figure><img src="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2FFEjhFjjCtxMP2aiFKUzy%2Fimage.png?alt=media&#x26;token=5947fa08-d7f5-4a42-89eb-0b77c2badb7a" alt=""><figcaption></figcaption></figure>
