There is an updated pull request by rien against master on the void-packages repository https://github.com/rien/void-packages new/mysql-8 https://github.com/void-linux/void-packages/pull/23617 New package: mysql8-8.0.21 This PR adds the MySQL database version 8. #### Motivation The other `mysql` package is still version 5.6, but the reason I created a new package is because the upgrade would break most databases since MySQL only has backwards compatibility for one major version. Instead of creating a lot of frustration I took the path void has already taken with postgresql (e.g. creating the `postgresql12` package next to `postgresql`). #### LibreSSL support MySQL does not support libressl by default, but I've used some patches from [gentoo](https://dev.gentoo.org/~whissi/dist/mysql/) (with permission of @Whissi). They also maintain a repository with working changes over at https://github.com/Whissi/gentoo-mysql. #### Cross compiling I gave up cross compiling this package because I've already spent quite some time getting this compile on x86. Sorry. During configuration it tries to detect library versions by compiling and running small binaries, but this won't work when cross compiling. I've tried setting `build_helper=qemu` but it dies without error message, just error code 2. At that point i gave up because building this package takes ages. #### Initialization I've tried to replicate the behavior of the original `mysql` package as close as possible. The `INSTALL` script initializes the data directory and sets an empty root password. It also echo's a message telling the user they should run `mysql_secure_installation` in order to set a root password and to remove test databases and anonymous users. The given configuration only allows connections from localhost, so the security risk is at a minimum here. However, if desired I can let the initialization step generate a random root password. A patch file from https://github.com/void-linux/void-packages/pull/23617.patch is attached