# Database setup

## Create Database <a href="#create-database" id="create-database"></a>

1. Browse your domain with cpanel port number. `Eg. your-domain-name.com:2083`
   * `:2083` port will redirect you to cpanel. Alternatively, you can type `your-domain-name.com/cpanel`\`
2. After you log in, search and select for `MySQL Databases`

   <figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkG8iZctiwXA991xthixp%2Fuploads%2FS3JBGioVWUcv63hSoaBu%2Fimage.png?alt=media&#x26;token=a8180be5-60f9-43c7-a2b6-0717bb63deab" alt=""><figcaption></figcaption></figure>
3. Enter database name.

   <figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkG8iZctiwXA991xthixp%2Fuploads%2F4FdU8Dtd3kuQkXFAhy4V%2Fimage.png?alt=media&#x26;token=d72c8467-035d-4228-b95f-10ba9aa96466" alt=""><figcaption></figcaption></figure>
4. Create user to access database.

   <figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkG8iZctiwXA991xthixp%2Fuploads%2F7GLFsTVhKKd2jTjkANm1%2Fimage.png?alt=media&#x26;token=9297000a-794e-433e-8f8e-ebb7ec26b0d3" alt=""><figcaption><p>⭐️ Store generated password in any note taking app becuase you will need to use it later. ⭐️</p></figcaption></figure>
5. Now connect database and user.

   <figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkG8iZctiwXA991xthixp%2Fuploads%2FjLiDOFgLChvbQrgsCSzE%2Fimage.png?alt=media&#x26;token=d88952f2-6887-409c-a4c3-59e213c5f698" alt=""><figcaption></figcaption></figure>
6. Give all privileges to the user and select Make Changes button.

   <figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkG8iZctiwXA991xthixp%2Fuploads%2FzYWvZGivkRve9DKDlqoy%2Fimage.png?alt=media&#x26;token=61e41b9e-6418-4a2e-86e5-20d97c5d1c08" alt=""><figcaption></figcaption></figure>
