# Install Custom Version Of MySQL Server

<p class="callout danger"><span style="color: rgb(0, 0, 0);">In this guide, replace **.27** with what version you need. At time of writing, Version **.37** is now out, but **on** and **after** **.29** breaks games such as Unturned with their charsets.</span></p>

<span style="color: rgb(0, 0, 0);">To begin, download the bundle.</span>

```bash
wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-server_8.0.27-1ubuntu20.04_amd64.deb-bundle.tar
```

<span style="color: rgb(0, 0, 0);">Extract it.</span>

```bash
tar -xf mysql-server_8.0.27-1ubuntu20.04_amd64.deb-bundle.tar
```

<span style="color: rgb(0, 0, 0);">Install LibSSL otherwise it will fail.</span>

```bash
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
```

<span style="color: rgb(0, 0, 0);">Install Libaio1 <span style="color: rgb(0, 58, 255);">*(Lol - AIO* 😋*)*</span> otherwise it will fail.</span>

```bash
wget http://archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.110-5_amd64.deb
sudo dpkg -i libaio1_0.3.110-5_amd64.deb
```

<span style="color: rgb(0, 0, 0);">Install MySQL common.</span>

```bash
dpkg -i mysql-common_8.0.27-1ubuntu20.04_amd64.deb
```

<p class="callout warning"><span style="color: rgb(0, 0, 0);"> Without the above being done, it errors out stating it needs MySQL common. If you try to include the package (*./mysql-common....*) with *apt install*, this fails due to it being the "last" package it installs and fails to understand when to install it.</span></p>

<span style="color: rgb(0, 0, 0);">Finally, install MySQL.</span>

```bash
apt install --yes --no-install-recommends ./mysql-community-client_8.0.27-1ubuntu20.04_amd64.deb ./mysql-community-client-core_8.0.27-1ubuntu20.04_amd64.deb ./mysql-community-client-plugins_8.0.27-1ubuntu20.04_amd64.deb ./mysql-server_8.0.27-1ubuntu20.04_amd64.deb ./mysql-community-server_8.0.27-1ubuntu20.04_amd64.deb ./mysql-client_8.0.27-1ubuntu20.04_amd64.deb ./mysql-community-server-core_8.0.27-1ubuntu20.04_amd64.deb
```

<span style="color: rgb(0, 0, 0);">Enter root password for password authentication or leave blank to just run **mysql** and login with terminal.![](https://jasmeow.pics/Yr7s6G.png)</span>

<span style="color: rgb(0, 0, 0);">Choose "Use Strong Password...", as you won't be needing 5.x compatibility. ![](https://jasmeow.pics/lYfPWX.png)</span>

<span style="color: #000000;">Complete. Run **mysql**.</span>

![image.png](https://docs.jasmeow.systems/uploads/images/gallery/2024-06/scaled-1680-/zpmLuPuLvfSeUslC-image.png)