mysqlrouter_plugin_info command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mysqlrouter_plugin_info: command not found
or when using sudo you get the following error message
sudo: mysqlrouter_plugin_info: command not found
Solutions to mysqlrouter_plugin_info: command not found
How To Fix mysqlrouter_plugin_info: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mysqlrouter_plugin_info is provided by mysql-router package.
mysql-router is:
MySQL Router is part of InnoDB cluster, and is lightweight middleware that provides transparent routing between your application and back-end MySQL servers. It can be used for a wide variety of use cases, such as providing high availability and scalability by effectively routing database traffic to appropriate back-end MySQL servers. The pluggable architecture also enables developers to extend MySQL Router for custom use cases.
Since MySQL Router is clustering software and needs to be configured and managed across an entire cluster, packaging cannot manage it for you. This package supplies the binary build only, ready for manual configuration.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mysql-router
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mysql-router.
sudo apt -y install mysql-router
Or if you have aptitude installed you can use the following command.
sudo aptitude install mysql-router
Summary
In this tutorial we learn how to fix mysqlrouter_plugin_info command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.