mysqld-akonadi command not found

In this troubleshooting guide we learn how to fix mysqld-akonadi command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mysqld-akonadi: command not found

or when using sudo you get the following error message

sudo: mysqld-akonadi: command not found

Solutions to mysqld-akonadi: command not found

How To Fix mysqld-akonadi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mysqld-akonadi is provided by akonadi-backend-mysql package.

akonadi-backend-mysql is:

Akonadi is an extensible cross-desktop Personal Information Management (PIM) storage service. It provides a common framework for applications to store and access mail, calendars, addressbooks, and other PIM data.

This package installs everything what’s needed for Akonadi to work with MySQL as underlying data storage engine. By default, a local MySQL server instance will be started for each user. Alternatively, connection to an external MySQL database is supported as well.

To fix this problem, we can install more using the command below.

sudo apt-get -y install akonadi-backend-mysql

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install akonadi-backend-mysql.

sudo apt -y install akonadi-backend-mysql

Or if you have aptitude installed you can use the following command.

sudo aptitude install akonadi-backend-mysql

Summary

In this tutorial we learn how to fix mysqld-akonadi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.