Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(linux-requirements): Debian: replace MariaDB by MYSQL #982

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions docs/linux-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ sudo apt install -y install libboost1.74-dev

#### Debian 10 / Debian 12

{% include note.html content="Some users experience issues when starting the servers while having MariaDB and MySQL installed at the same time. If you experience this issue try to uninstall MySQL or join the Discord to ask for help." %}
{% include note.html content="Some users experience issues when starting the servers while having MariaDB and MySQL installed at the same time. If you experience this issue try to uninstall MariaDB or join the Discord to ask for help." %}
Kitzunu marked this conversation as resolved.
Show resolved Hide resolved

```sh
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mariadb-server libboost-all-dev
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev gnupg wget
```

Remember that if you are using the `root` user, it is not necessary to use `sudo`.
Expand All @@ -62,7 +62,26 @@ Remember that if you are using the `root` user, it is not necessary to use `sudo
**Example:**

```sh
apt-get update && apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mariadb-server libboost-all-dev -y
apt-get update && apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev gnupg wget -y
```

---

#### Install MYSQL

```sh
wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
sudo dpkg -i ./mysql-apt-config_0.8.32-1_all.deb
```

Install the latest MYSQL-LTS release, e.g. select `MYSQL Server & Cluster` -> `mysql-8.4-lts`

**Configure MYSQL:**

Run `MYSQL secure installation` to assign a MYSQL root password:

```sh
sudo mysql_secure_installation
```

---
Expand Down
Loading