Install & Configure MySQL Router - MySQL InnoDB Cluster

Install & Configure MySQL Router -  MySQL InnoDB Cluster

MySQL Router is one of the important component of MySQL InnoDB Cluster as it's used by applications to connect to the MySQL DBs running on cluster. 
In this blog, We will show How we can install and configure MySQL Router either on application server or on dedicated server for MySQL Router.

Below are the step to install and configure MySQL Router:

1) Install MySQL Router on the Server(In our case , We are restoring MySQL Router on the ubuntu server).

Run command as root user : apt-get install MySQL-router

2) Bootstrap or Configure MySQL Router
mysqlrouter --bootstrap clusteradmin@mysqlhost01:3306 --user=mysqlrouter

In Case of any issue in configuring MySQL Router ,We can use -force option of the bootstrap.

mysqlrouter --bootstrap clusteradmin@n4ldbdev5030:3306 --directory=/home/myrouter --user=mysqlrouter --force

3) Test Connectivity via MySQL Router.

mysqlsh --uri clusteradmin@localhost:6446


you can learn more about MySql and InnoDB from below books:
==========================================================================
You can also , Visit our Blogs for related topic on installation and Uninstallation:

Comments

Popular posts from this blog

Restore MySQL Database from mysqlbackup

Oracle 19c New Features