I've previously had MySQL 8.0 installed but heard that I could get a bit more out of my server with the Percona version.
I removed every trace of the previous MySQL install and rebooted before starting.
Than I followed this guide to install the new version. I tried muultiple times with a clean install or with mysql alredy on it but it always threw some kind of error on the 8. step(sudo apt install percona-server-server). Usually:
mysql.service - Percona Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since Mon 2023-03-06 19:26:01 CET; 13ms
ago
Process: 7998 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=ex
ited, status=0/SUCCESS)
Process: 8046 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS (code=exited, status=1
/FAILURE)
Main PID: 8046 (code=exited, status=1/FAILURE)
Status: "Server shutdown complete"
Error: 22 (Invalid argument)
CPU: 5.119s
=>
Failed to start Percona Server.
mysql.service: Failed with result 'exit-code'.
=>
dpkg: error processing package percona-server-server (--configure):
installed percona-server-server package post-installation script subprocess ret
urned error exit status 1
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
percona-server-server
...
I have no clue what I am doing worong. I tried reinstalling normal MySQL and that worked fine before and after.