# phpMyAdmin MySQL DB Setup

### How to Create a New Database in phpMyAdmin:

1. Log in to **phpMyAdmin**.
2. Click on the "**New**" button to create a new database.

<div align="left"><figure><img src="https://1156155356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpb8ANp0ZN6ZvWH8LcR5c%2Fuploads%2F5SHCEzaCAipCYCpCRjeP%2Fdb-1.png?alt=media&#x26;token=ebf1f02e-4cd8-49f5-be17-bf29e7e0297f" alt=""><figcaption></figcaption></figure></div>

3. Enter a name for the database, select **`utf8_general_ci`** as the collation, and click the "**Create**" button.

<div align="left"><figure><img src="https://1156155356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpb8ANp0ZN6ZvWH8LcR5c%2Fuploads%2F7Fjss0WmZ8QZPEKZrg0Z%2Fdb-2.png?alt=media&#x26;token=1257d67a-0502-4d91-9c7a-2954ae11c541" alt=""><figcaption></figcaption></figure></div>

4. Ensure you have a database user with access to the newly created database. If not, create one with all necessary permissions and set a password.
5. To avoid issues with database setup, ensure that the new database uses InnoDB as the storage engine.
6. Return to the Install process and enter your newly created database credentials. If using local server, you can set database host to **localhost**, and for mysql port use **3306**
