Installing MySQL Server 8.0.33 on a Ubuntu 20.04 server with FIPS enabled results in an error. This error doesn't occur when installing the previous MySQL Server version (8.0.32). The error also doesn't occur when the server is not running with FIPS enabled.
During the installation, it returns the following error message:
2023-05-15T18:39:17.482061Z 0 [ERROR] [MY-011065] [Server] Unable to determine if daemon is running: No such file or directory (rc=0).
2023-05-15T18:39:17.482074Z 0 [ERROR] [MY-010946] [Server] Failed to start mysqld daemon. Check mysqld error log.
I tried this on a fresh installation of Ubuntu Server 20.04 to be sure it wasn't some other package or setting that was causing the error.
Here are my steps:
- Installed Ubuntu 20.04 on VM VirtualBox 7.0
- Ran
$ sudo apt update
- Ran
$ sudo apt upgrade
- Removed default actions from
GRUB_CMDLINE_LINUX_DEFAULT
in/etc/default/grub
(These were preventing FIPS from enabling properly). - Ran
$ sudo update-grub
to apply changes. - Installed Ubuntu Advantage with
$ sudo pro attach <UA Token>
- Rebooted Server
- Ran
$ sudo pro enable fips
- Rebooted Server again
- Ran
$ sudo apt install mysql-server
(This is where failure occurs).