Enswitch requires MySQL 5.6 or later. Install this using a package for your Linux distribution. Alternatively, you can use MariaDB 10.0 or later if you prefer.

On machines running Debian or Ubuntu:

  • apt-get install mysql-server mysql-client
  • systemctl stop mysql.service
  • rm /var/lib/mysql/ib_logfile*

On machines running CentOS or Rocky Linux:

  • dnf install -y mysql-server

On machines running Redhat Enterprise or Fedora:

  • yum -y install mysql-server

Note that on some distributions, such as Fedora 20 or later, installing mysql will actually install mariadb.